diff options
author | julian T <julian@jtle.dk> | 2019-01-27 21:31:38 +0100 |
---|---|---|
committer | julian T <julian@jtle.dk> | 2019-01-27 21:31:38 +0100 |
commit | 7337083a2ac6d1ec68b8fd021833d6c225566460 (patch) | |
tree | 8b144dc20ad907bec199d69e699d6b763798de7a /.vimrc | |
parent | 5dd81779ee6a99662fda008baad4bc3ff75fc5c7 (diff) |
Experimented with emacs email, added vim gutentag and made launch script
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -12,26 +12,37 @@ filetype plugin on " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' + " Completion Plugin 'ervandew/supertab' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-repeat' + " ctags stuff + Plugin 'ludovicchabant/vim-gutentags' + + " Language support Plugin 'racer-rust/vim-racer' Plugin 'davidhalter/jedi-vim' + Plugin 'junegunn/goyo.vim' + " Color theme Plugin 'agude/vim-eldar' + + " File management Plugin 'scrooloose/nerdtree' - " Track the engine. + " Snippits Plugin 'SirVer/ultisnips' - - " Snippets are separated from the engine. Add this if you want them: Plugin 'honza/vim-snippets' - Plugin 'junegunn/goyo.vim' + " Git Plugin 'jreybert/vimagit' + " Tagbar use <F4> + Plugin 'majutsushi/tagbar' + + call vundle#end() " required filetype plugin indent on " required @@ -46,7 +57,6 @@ set shiftwidth=4 set softtabstop=4 set noexpandtab -set inccommand=split " Required for operations modifying multiple buffers like rename. set hidden @@ -75,6 +85,7 @@ set completeopt=menuone,preview " Keymapping map <C-n> :NERDTreeToggle<CR> + map <F4> :TagbarToggle<CR> " Leader stuff let mapleader=" " @@ -85,7 +96,9 @@ set completeopt=menuone,preview " Example on filetype specific " autocmd FileType tex map <leader>o :w !detex \| wc -w<CR> + autocmd FileType asciidoc nnoremap <leader>c :!asciidoctor %<CR> " Enforcing filetypes autocmd BufRead,BufNewFile *.ino set filetype=c + autocmd BufRead,BufNewFile *.asc set filetype=asciidoc autocmd FileType python setlocal completeopt-=preview |