diff --git a/vim/gvimrc b/vim/gvimrc index ad12ee6..fb39112 100644 --- a/vim/gvimrc +++ b/vim/gvimrc @@ -9,12 +9,15 @@ if has("gui_macvim") " Fullscreen takes up entire screen set fuoptions=maxhorz,maxvert - " Mac OS X style command line editing + "Mac OS X style command line editing cnoremap cnoremap " Command-/ to toggle comments - map NERDCommenterToggle + map NERDCommenterToggle + " Command-T (a la Textmate) + macmenu &File.New\ Tab key= + map :CommandT endif diff --git a/vim/vimrc b/vim/vimrc index ddf2399..745544e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -14,7 +14,6 @@ syntax on filetype plugin indent on match ErrorMsg '\%>80v.\+' - " UI set number set ruler @@ -206,10 +205,10 @@ set backspace=indent,eol,start " Window manipulation "map tt -map :wincmd h | " This and the below are also useful for colemak -map :wincmd l -map :wincmd H -map :wincmd L +map :wincmd h +map :wincmd l +map :wincmd H +map :wincmd L " Opens an edit command with the path of the currently edited file filled in " Normal mode: e @@ -224,8 +223,8 @@ nmap h nmap k " Nicer split controls -"map normal :split -"map normal :vsplit +map :split +map :vsplit " Emacs-like keys for the command line cnoremap