From a56b5d7e2655953aea7f3612bb140800219c83ed Mon Sep 17 00:00:00 2001 From: David Luevano <55825613+luevano@users.noreply.github.com> Date: Tue, 18 Feb 2020 19:00:48 -0700 Subject: Mod workflow --- .config/nvim/init.vim | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5650fee..12e6e68 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -16,13 +16,15 @@ call plug#begin('~/.config/nvim/plugged') Plug 'mboughaba/i3config.vim' Plug 'junegunn/goyo.vim' - Plug 'preservim/nerdtree' - Plug 'Xuyuanp/nerdtree-git-plugin' + " Plug 'preservim/nerdtree' + " Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'mhinz/vim-signify' + " TeX Plug 'lervag/vimtex' Plug 'KeitaNakamura/tex-conceal.vim' + " Python Plug 'tmhedberg/SimpylFold' Plug 'vim-scripts/indentpython.vim' Plug 'Valloric/YouCompleteMe' @@ -75,7 +77,7 @@ \ set shiftwidth=4 | \ set textwidth=79 | \ set expandtab | - \ set fileformat=unix + \ set fileformat=unix | au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ let python_highlight_all=1 @@ -83,7 +85,10 @@ set showbreak=↪\ set listchars=eol:↲,nbsp:␣,tab:»\ ,trail:•,precedes:⟨,extends:⟩ - ""---Custom functions---"" + " Buffers. + nnoremap gb :ls:buffer + +""---Custom functions---"" " Toggle spellchecking function! ToggleSpellCheck() set spell! @@ -123,9 +128,9 @@ set conceallevel=2 let g:tex_conceal="abdgm" - " nerdtree - let g:NERDTreeShowHidden=1 - autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif + " NERDTree + " let g:NERDTreeShowHidden=1 + " autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif " SympylFold let g:SympylFold_docstring_preview=1 @@ -150,7 +155,7 @@ nmap :set number invrelativenumber " Toggle NERDTree - nmap :NERDTreeToggle + " nmap :NERDTreeToggle " Toggle Goyo nmap :Goyo -- cgit v1.2.3-70-g09d2