Created
October 27, 2016 08:00
-
-
Save jerowe/984c552b483d6e7b4fba1edab6aa4886 to your computer and use it in GitHub Desktop.
My neovim settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let mapleader="\\" | |
| syntax on | |
| filetype plugin indent on | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'noahfrederick/vim-neovim-defaults' | |
| Plug 'junegunn/vim-easy-align' | |
| Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' | |
| Plug 'kassio/neoterm' | |
| Plug 'neomake/neomake' | |
| Plug 'ctrlpvim/ctrlp.vim' | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'crusoexia/vim-monokai' | |
| Plug 'Yggdroot/indentLine' | |
| Plug 'ervandew/screen' | |
| Plug 'c9s/perlomni.vim' | |
| Plug 'vim-perl/vim-perl' | |
| Plug 'moll/vim-node' | |
| Plug 'myhere/vim-nodejs-complete' | |
| Plug 'Chiel92/vim-autoformat' | |
| Plug 'Shougo/deoplete.nvim' | |
| Plug 'tomasr/molokai' | |
| Plug 'majutsushi/tagbar' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| " Add plugins to &runtimepath | |
| call plug#end() | |
| runtime! plugin/neovim_defaults.vim | |
| " autocmd! BufWritePost '*' Neomake | |
| "CtrlP | |
| let g:ctrlp_map = '<c-p>' | |
| let g:ctrlp_cmd = 'CtrlP' | |
| """ open in git repository | |
| let g:ctrlp_working_path_mode = 'ra' | |
| " change file finding | |
| map <Leader>cw :CtrlPCurWD<CR> | |
| map <Leader>mru :CtrlPMRU<CR> | |
| "SEt paste | |
| map <Leader>sp :set paste<CR> | |
| map <Leader>snp :set nopaste<CR> | |
| colorscheme molokai | |
| "Tagbar | |
| nmap <F8> :TagbarToggle<CR> | |
| let g:tagbar_autoclose = 1 | |
| " Tagbar settings to recognise Perl Moo..Moose | |
| let g:tagbar_type_perl = { | |
| \ 'ctagstype' : 'Perl', | |
| \ 'kinds' : [ | |
| \ 'p:packages:1:0', | |
| \ 'u:uses:1:0', | |
| \ 'r:requires:1:0', | |
| \ 'e:extends', | |
| \ 'w:roles', | |
| \ 'o:ours:1:0', | |
| \ 'c:constants:1:0', | |
| \ 'f:formats:1:0', | |
| \ 'a:attributes', | |
| \ 's:subroutines', | |
| \ 'x:around:1:0', | |
| \ 'l:aliases', | |
| \ 'd:pod:1:0', | |
| \ ], | |
| \ } | |
| " More natural splits | |
| set splitbelow " Horizontal split below current. | |
| set splitright " Vertical split to right of current. | |
| let g:airline#extensions#tabline#enabled = 2 | |
| let g:airline#extensions#tabline#fnamemod = ':t' | |
| let g:airline#extensions#tabline#left_sep = ' ' | |
| let g:airline#extensions#tabline#left_alt_sep = '|' | |
| let g:airline#extensions#tabline#right_sep = ' ' | |
| let g:airline#extensions#tabline#right_alt_sep = '|' | |
| let g:airline_left_sep = ' ' | |
| let g:airline_left_alt_sep = '|' | |
| let g:airline_right_sep = ' ' | |
| let g:airline_right_alt_sep = '|' | |
| let g:airline_theme= 'molokai' | |
| " Neoterm | |
| let g:neoterm_position = 'horizontal' | |
| let g:neoterm_automap_keys = ',tt' | |
| map <Leader>ss :TREPLSendLine<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment