Vimrc

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 17: Line 17:
 
map <F12> <C-e>
 
map <F12> <C-e>
 
</source>
 
</source>
 +
 +
==Cscope==
 +
You will want to download this file [http://cscope.sourceforge.net/cscope_maps.vim cscope_maps.vim] to <code>~/.vim/plugin</code>

Revision as of 16:08, 3 December 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>

Cscope

You will want to download this file cscope_maps.vim to ~/.vim/plugin

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox