diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a55a963..725e779 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -11,12 +11,15 @@ Plug 'ap/vim-css-color' "Surround Plug 'tpope/vim-surround' -"Latex -Plug 'lervag/vimtex' - " For snippets Plug 'SirVer/ultisnips' +" Latex +Plug 'lervag/vimtex' + +" Table mode +Plug 'dhruvasagar/vim-table-mode' + if has("nvim") " LSP Plug 'neovim/nvim-lspconfig' @@ -59,7 +62,7 @@ inoremap InsertTabWrapper() inoremap " Make -set makeprg=make\ --silent\ 2>&1\ \\\|\ grep\ -E\ \"^([^:\\S]+):\\S+:.+\" +" set makeprg=make\ --silent\ 2>&1\ \\\|\ grep\ -E\ \"^([^:\\S]+):\\S+:.+\" syntax on @@ -90,10 +93,10 @@ set shiftwidth=4 set showmatch " Show matching brackets. "set ignorecase " Do case insensitive matching set smartcase " Do smart case matching -"set incsearch " Incremental search +set incsearch " Incremental search set autowrite " Automatically save before commands like :next and :make -"set hidden " Hide buffers when they are abandoned -"set mouse=a " Enable mouse usage (all modes) +set hidden " Hide buffers when they are abandoned +set mouse=a " Enable mouse usage (all modes) set number " Enable line numbers set relativenumber " Enable relative line numbers @@ -119,7 +122,7 @@ if has("nvim") tnoremap tnoremap tnoremap -end +endif " Source a global configuration file if available if filereadable("/etc/vim/vimrc.local") @@ -128,7 +131,7 @@ endif " LSP Setup if has("nvim") -lua <