From 673a407d9dfba7b74187d35da2c135d429ac9b36 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Tue, 12 Feb 2019 18:35:28 -0500 Subject: need to fix ALE markdown thing and create needed programs list but installed LSP --- modules/general.vim | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) (limited to 'modules/general.vim') diff --git a/modules/general.vim b/modules/general.vim index baf4cdaa..2fbf307c 100644 --- a/modules/general.vim +++ b/modules/general.vim @@ -31,15 +31,18 @@ set smarttab " Converts tabs to spaces set expandtab " Makes indenting smart -set smartindent +""set smartindent " Good auto indent -set autoindent +""set autoindent " Always display the status line set laststatus=2 " Line numbers set number " Enable highlighting of the current line set cursorline +" Get rid of annoying red highlights" +let g:python_highlight_all = 0 +" Disable arrows" let g:elite_mode=1 " Disable arrow movement, resize splits instead. if get(g:, 'elite_mode') @@ -56,22 +59,34 @@ nnoremap :wq! nnoremap " : completion. inoremap pumvisible() ? "\" : "\" -" F2 split vertical -nnoremap :vsplit -" F3 split horizontal -nnoremap :split -" Toggle Line numbers -nnoremap :set nonumber! -" Toggle NERDTree -nnoremap :NERDTreeToggle -" Get rid of highlights after search -nnoremap :nohlsearch " Open terminal with F1 -nnoremap :10split term://bash +nnoremap :10split term://bash " insert mode for terminal autocmd BufWinEnter,WinEnter term://* startinsert autocmd BufLeave term://* stopinsert +" Toggle tagbar +nnoremap :tagbar +" Toggle Line numbers +nnoremap :set nonumber! +" Toggle NERDTree +nnoremap :NERDTreeToggle +" Startify +nnoremap :Startify +" Get rid of highlights after search +nnoremap :nohlsearch +" Toggle open buffers +nnoremap :BuffergatorToggle +" For fuzzy finder +nnoremap :Files +" F10 split vertical +nnoremap :vsplit +" F11 split horizontal +nnoremap :split +" Make current buffer only buffer +nnoremap :only " Remap window switch +" Switch to rename for LSP to do add leader +""nnoremap :SearchTasks * nnoremap h nnoremap j nnoremap k -- cgit v1.2.3