diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2012-11-09 10:12:26 -0800 |
---|---|---|
committer | Jesse Morgan <morganjm@amazon.com> | 2012-11-09 10:12:26 -0800 |
commit | 8d6a7a116fe2511ee53309069a30ece768a05abe (patch) | |
tree | 632af6c23a8020ffce3c6175595b39d37f7c9080 /base/vimrc | |
parent | ef685f48262d2804f5d7e609178775dc55da4836 (diff) |
Merged in work base configs.
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -5,7 +5,7 @@ set bg=dark set diffopt=filler,iwhite " keep files synced and ignore whitespace set expandtab " Get rid of tabs altogether and replace with spaces "set guioptions-=m " Remove menu from the gui -"set guioptions-=T " Remove toolbar +set guioptions-=T " Remove toolbar set hidden " hide buffers instead of closing set history=50 " keep 50 lines of command line history set ignorecase " Do case insensitive matching @@ -25,6 +25,9 @@ set foldmethod=indent set nofen set mouse=a set spell spelllang=en +set wildmode=list:longest,full +set nomousehide +set sessionoptions+=resize,winpos " filetypes filetype plugin on @@ -49,6 +52,10 @@ map O5B <C-W>j map O5A <C-W>k map O5D <C-W>h map O5C <C-W>l +imap O5B <C-W>j +imap O5A <C-W>k +imap O5D <C-W>h +imap O5C <C-W>l "Set tab to 4 spaces set shiftwidth=4 @@ -63,6 +70,9 @@ set pastetoggle=<F7> "normal mode maps +" Switch to/from header file +map <F4> :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR> + "Map \e to edit a file from the directory of the current buffer if has("unix") nmap <Leader>e :e <C-R>=expand("%:p:h") . "/"<CR> |