[submodule ".vim/pack/plugins/opt/vim-unimpaired"]
path = .vim/pack/github/opt/vim-unimpaired
url = https://github.com/tpope/vim-unimpaired.git
-[submodule ".vim/pack/plugins/opt/ultisnips"]
- path = .vim/pack/github/opt/ultisnips
- url = https://github.com/SirVer/ultisnips.git
[submodule ".vim/pack/plugins/opt/tagbar"]
path = .vim/pack/github/opt/tagbar
url = https://github.com/majutsushi/tagbar.git
[submodule ".vim/pack/github/opt/vim-javascript"]
path = .vim/pack/github/opt/vim-javascript
url = https://github.com/pangloss/vim-javascript
+[submodule ".vim/pack/github/opt/vim-surround"]
+ path = .vim/pack/github/opt/vim-surround
+ url = https://github.com/tpope/vim-surround.git
+[submodule ".vim/pack/github/opt/vim-repeat"]
+ path = .vim/pack/github/opt/vim-repeat
+ url = https://github.com/tpope/vim-repeat.git
+[submodule ".vim/pack/github/opt/vim-snipmate"]
+ path = .vim/pack/github/opt/vim-snipmate
+ url = https://github.com/garbas/vim-snipmate.git
+[submodule ".vim/pack/github/opt/vim-addon-mw-utils"]
+ path = .vim/pack/github/opt/vim-addon-mw-utils
+ url = https://github.com/MarcWeber/vim-addon-mw-utils.git
noremap <c-j> <c-w><c-j>
noremap <c-k> <c-w><c-k>
noremap <c-l> <c-w><c-l>
-noremap <silent> <c-n> :bn<cr>
-noremap <silent> <c-p> :bp<cr>
noremap! <C-a> <Home>
noremap! <C-e> <End>
-"noremap <leader>z :bp<CR>
-"noremap <leader>q :bp<CR>
-"noremap <leader>x :bn<CR>
-"noremap <leader>w :bn<CR>
-"noremap <leader>c :bd<CR>
" Normal Mode Mappings
"nnoremap hh <nop>
tnoremap <C-j> <C-\><C-n><C-w>j
tnoremap <C-k> <C-\><C-n><C-w>k
tnoremap <C-l> <C-\><C-n><C-w>l
-tnoremap <silent> <c-n> <C-\><C-n>:bnext<cr>
-tnoremap <silent> <c-p> <C-\><C-n>:bprev<cr>
" Functions
augroup end
endif
-" Packages
-
" Airline
packadd! vim-airline
+
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
" Tagbar
packadd! tagbar
-" Fugitive
-packadd! vim-fugitive
-
" Gtags-Cscope
packadd! gtags-cscope
set csprg=gtags-cscope
let GtagsCscope_Auto_Load = 1
let GtagsCscope_Quiet = 1
-" Unimpaired
+" Tpope
+packadd! vim-fugitive
packadd! vim-unimpaired
+packadd! vim-surround
+packadd! vim-repeat
" Matchit (%)
packadd! matchit
" Meson build system
packadd mesonic
-" UltiSnips
-packadd vim-snippets
-packadd ultisnips
-let g:UltiSnipsExpandTrigger="<tab>"
-let g:UltiSnipsJumpForwardTrigger="<tab>"
-let g:UltiSnipsJumpBackwardTrigger="<c-b>"
-let g:UltiSnipsEditSplit="vertical"
+" snipmate
+packadd tlib_vim
+packadd vim-addon-mw-utils
+packadd vim-snipmate
+packadd vim-snippets
" better syntax hi
packadd vim-syntax-extra