Vimrc

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 8: Line 8:
 
set noea
 
set noea
 
set ead=both
 
set ead=both
map = <C-w>=
+
map = <C-w>=:set ea<CR>
map - :res<CR>:vertical res<CR>
+
map - :res<CR>:vertical res<CR>:set noea<CR>
 
map <F3> :buffer<space>#<CR>
 
map <F3> :buffer<space>#<CR>
 
map <F4> :ls<CR>:buffer<space>
 
map <F4> :ls<CR>:buffer<space>

Revision as of 12:21, 8 November 2012

This is a configuration file for Vim. Place this in ~/.vimrc

set tabstop=2
set background=dark
set wildmode=longest,list
set noea
set ead=both
map = <C-w>=:set ea<CR>
map - :res<CR>:vertical res<CR>:set noea<CR>
map <F3> :buffer<space>#<CR>
map <F4> :ls<CR>:buffer<space>
map <F5> :bp<CR>
map <F6> :bn<CR>
map <F11> <C-y>
map <F12> <C-e>
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox