Added a.vim
This commit is contained in:
parent
f26617923f
commit
95a0b8e81d
12
init.vim
12
init.vim
@ -9,6 +9,7 @@ Plug 'tpope/vim-fugitive'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'Shougo/neosnippet.vim'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'vim-scripts/a.vim'
|
||||
call plug#end()
|
||||
" =============Settings==================
|
||||
filetype plugin on
|
||||
@ -76,3 +77,14 @@ let g:neosnippet#enable_snipmate_compatibility = 1
|
||||
let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets'
|
||||
imap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>"
|
||||
smap <expr><TAB> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
|
||||
" =====================A======================
|
||||
" Function for switching between header and c* files
|
||||
map <F5> :wa <CR> :A<CR>
|
||||
imap <F5> <Esc>:wa<CR>:A<CR>i
|
||||
map <C-F5> :AV<CR>
|
||||
imap <C-F5> <Esc>:AV<CR>i
|
||||
map <S-F5> :AT<CR>
|
||||
imap <S-F5> <Esc>:AT<CR>i
|
||||
let g:alternateSearchPath = 'sfr:../source,sfr:../src,sfr:../include,../../include,sfr:../inc,sfr:../h'
|
||||
" Dont create the file if the .cpp or .h is not found
|
||||
let g:alternateNoDefaultAlternate = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user