diff options
author | Chrisatmachine <[email protected]> | 2018-11-11 19:14:55 -0500 |
---|---|---|
committer | Chrisatmachine <[email protected]> | 2018-11-11 19:14:55 -0500 |
commit | f7b91819c36603dbbbcf5807200facf1d7367223 (patch) | |
tree | 6bfc58f688edb6c4c839672042de545a7529d699 | |
parent | 27c89d83269bdd13f4b40f50e2e4b60cf5f1a66e (diff) |
fixed function key section
-rw-r--r-- | init.vim | 21 | ||||
-rw-r--r-- | tags | 6 |
2 files changed, 16 insertions, 11 deletions
@@ -21,18 +21,23 @@ set expandtab " Always display the status line set laststatus=2 " Gets rid of highlights after search -nnoremap <silent> <F7> :nohlsearch<CR><F7> +"nnoremap <silent> <F7> :nohlsearch<CR><F7> " Line numbers set number " Toggle line numbers +nnoremap <F1> :10split term://bash<CR> +nnoremap <F2> :BuffergatorToggle<CR> +nnoremap <F3> :Files<CR> +nnoremap <F4> :SearchTasks *<CR> +nnoremap <F5> :NERDTreeToggle<CR> nnoremap <F6> :set nonumber!<CR> +nnoremap <silent> <F7> :nohlsearch<CR><F7> +nnoremap <F8> :TagbarToggle<CR> nnoremap <F9> :vsplit<CR> nnoremap <F10> :split<CR> nnoremap <F12> :only<CR> -nnoremap <F2> :BuffergatorToggle<CR> -nnoremap <F3> :Files<CR> -nnoremap <F1> :10split term://bash<CR> +" insert mode for terminal autocmd BufWinEnter,WinEnter term://* startinsert autocmd BufLeave term://* stopinsert @@ -274,12 +279,12 @@ let g:startify_custom_header = [ \ ' /_/ |_/\___/\____/|___/_/_/ /_/ /_/ '] " Tagbar -nmap <F8> :TagbarToggle<CR> +"nmap <F8> :TagbarToggle<CR> " NERDTree -nmap <F5> :NERDTreeToggle<CR> +"nmap <F5> :NERDTreeToggle<CR> let NERDTreeShowHidden = 1 " SearchTasks -nmap <F4> :SearchTasks *<CR> +"nmap <F4> :SearchTasks *<CR> """""""""" END CONFIGS """""""""" " Ctrlp @@ -345,7 +350,7 @@ if !empty((glob("~/.fzf"))) endif """"""""""" FUNCTION KEYS """""""""""""" "TODO figure out cscope -"TODO create function key section "TODO figure out virtualenv for neovim +"TODO Split vim into ftp stuff rtp @@ -21,11 +21,11 @@ <F1> init.vim /^nnoremap <F1> :10split term:\/\/bash<CR> $/;" m <F2> init.vim /^nnoremap <F2> :BuffergatorToggle<CR>$/;" m <F3> init.vim /^nnoremap <F3> :Files<CR>$/;" m -<F4> init.vim /^nmap <F4> :SearchTasks *<CR>$/;" m -<F5> init.vim /^nmap <F5> :NERDTreeToggle<CR>$/;" m +<F4> init.vim /^nnoremap <F4> :SearchTasks *<CR>$/;" m +<F5> init.vim /^nnoremap <F5> :NERDTreeToggle<CR>$/;" m <F6> init.vim /^nnoremap <F6> :set nonumber!<CR>$/;" m <F7> init.vim /^nnoremap <silent> <F7> :nohlsearch<CR><F7>$/;" m -<F8> init.vim /^nmap <F8> :TagbarToggle<CR>$/;" m +<F8> init.vim /^nnoremap <F8> :TagbarToggle<CR>$/;" m <F9> init.vim /^nnoremap <F9> :vsplit<CR>$/;" m <Left> init.vim /^ nnoremap <Left> :vertical resize -2<CR>$/;" m <Right> init.vim /^ nnoremap <Right> :vertical resize +2<CR>$/;" m |