| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 | " Be IMprovedif &compatible  set nocompatibleendif" set leader keylet g:mapleader="\\"" alias for leader keynmap <space> \xmap <space> \syntax enable                           " Enables syntax highlighingset hidden                              " Required for specific actions that require multiple buffersset conceallevel=0set nowrap                              " display long lines as just one lineset encoding=utf-8                      " The encoding displayed set pumheight=10                        " Makes popup menu smallerset fileencoding=utf-8                  " The encoding written to fileset ruler              					        " show the cursor position all the timeset cmdheight=2                         " always keep this at 2"set iskeyword+=-                      	" treat dash separated words as a word text object"set mouse=a                             " Enable your mouseset splitbelow                          " Horizontal splits will automatically be belowset splitright                          " Vertical splits will automatically be to the rightset t_Co=256                            " Support 256 colorsset autochdir                           " Your working directory will always be the same as your working directory:set conceallevel=0                     " So that I can see `` in markdown filesset tabstop=2                           " Insert 2 spaces for a tabset shiftwidth=2                        " Change the number of space characters inserted for indentationset smarttab                            " Makes tabbing smarter will realize you have 2 vs 4set expandtab                           " Converts tabs to spacesset smartindent                         " Makes indenting smartset autoindent                          " Good auto indentset laststatus=2                        " Always display the status lineset number                              " Line numbersset cursorline                          " Enable highlighting of the current lineset background=dark                     " tell vim what the background color looks likelet g:python_highlight_all = 0          " Get rid of annoying red highlights" look into polyglot python implementation to choose what you want to enablelet g:elite_mode=1                      " Disable arrows"filetype plugin indent on               " Gives vim abilty to recognize filetypes                 " Disable arrow movement, resize splits instead.if get(g:, 'elite_mode')    nnoremap <Up>    :resize -2<CR>    nnoremap <Down>  :resize +2<CR>    nnoremap <Left>  :vertical resize -2<CR>    nnoremap <Right> :vertical resize +2<CR>endif" Alternate way to savennoremap <C-s> :w<CR>" Alternate way to quitnnoremap <C-Q> :wq!<CR>" Use control-c instead of escapennoremap <C-c> <Esc>" <TAB>: completion.inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"" Open terminal with F1nnoremap <silent> <F1> :10split term://bash<CR>nnoremap <silent> <F2> :bdelete! term://*<return>nnoremap <C-h> <C-w>hnnoremap <C-j> <C-w>jnnoremap <C-k> <C-w>knnoremap <C-l> <C-w>l" Remap terminal switchtnoremap <C-[> <C-\><C-n>tnoremap <C-c><Esc> <Esc>tnoremap <C-h> <C-\><C-n><C-w>htnoremap <C-j> <C-\><C-n><C-w>jtnoremap <C-k> <C-\><C-n><C-w>ktnoremap <C-l> <C-\><C-n><C-w>lnnoremap <M-h> <C-w>hnnoremap <M-j> <C-w>jnnoremap <M-k> <C-w>knnoremap <M-l> <C-w>lnnoremap <D-h> <C-w>hnnoremap <D-j> <C-w>jnnoremap <D-k> <C-w>knnoremap <D-l> <C-w>l" TAB in general mode will move to text buffernnoremap <TAB> :bnext<CR>" SHIFT-TAB will go backnnoremap <S-TAB> :bprevious<CR>" Copy paste between vim and everything elseset clipboard=unnamedplus" hold when tabbingvnoremap < <gvvnoremap > >gvset conceallevel=0cmap w!! w !sudo tee %
 |