scps950707 / vimrc

very powerful vim configuration for writing C familiy languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PluginMagnager

Plugins

Key Mappings

Mappings Key Target
nnoremap <C-F10> :<C-u>Dispatch!<CR>
vnoremap <C-c> "+y
nnoremap <C-d> :<C-u>Buffers<CR>
nnoremap <C-down> :resize +5<cr>
nnoremap <C-left> :vertical resize -5<cr>
nnoremap <C-p> :<C-u>FZF<CR>
nnoremap <C-right> :vertical resize +5<cr>
nnoremap <C-up> :resize -5<cr>
vnoremap <C-x> "+x
nnoremap <F10> :<C-u>Dispatch<CR>
nnoremap <F2> :<C-u>NERDTreeToggle<CR>
nnoremap <F3> :<C-u>TagbarToggle<CR>
nnoremap <F4> :call MyIndent()<CR>
map <F5> gcc
map <F6> gc
nnoremap <F7> :<C-u>call Replace(0,input('Replace '.expand('<cword>').' with: '))<CR>
nnoremap <S-x> :<C-u>bnext<CR>
nnoremap <S-z> :<C-u>bprevious<CR>
inoremap <expr><CR> pumvisible() ? "<C-R>=ExpandSnippetOrCarriageReturn()<CR>" : "\<CR>"
nnoremap <leader>g :<C-u>Ag<CR>
nnoremap <leader>m :<C-u>Magit<CR>
nnoremap <leader>q :<C-u>Sayonara<CR>
map Q <Nop>
cnoremap help vert help

Colorscheme

About

very powerful vim configuration for writing C familiy languages


Languages

Language:Vim Script 69.9%Language:Python 19.3%Language:Shell 8.2%Language:Makefile 2.6%