diff --git a/.vimrc b/.vimrc index c5d2600..700e0c9 100644 --- a/.vimrc +++ b/.vimrc @@ -6,40 +6,43 @@ call plug#begin('~/.vim/plugged') Plug 'cespare/vim-toml' "LaTeX Plug 'lervag/vimtex' + Plug 'junegunn/fzf' Plug 'junegunn/fzf.vim' + Plug 'morhetz/gruvbox' + + Plug 'vim-airline/vim-airline' + Plug 'vim-airline/vim-airline-themes' + call plug#end() "Need to specify latex flavor for the lervag/vimtex plugin :let g:tex_flavor = 'latex' - -"Enable colors and set color scheme -"if has('nvim') -if exists('+termguicolors') - :set termguicolors -endif -:colorscheme monokai-black - +"Color scheme +:let g:gruvbox_contrast_dark='hard' +:colorscheme gruvbox +:highlight Normal ctermbg=NONE "Line numbers :set number "Column guide :set colorcolumn=93 -:highlight ColorColumn ctermbg=darkgrey - "Misc keymappings and configurations :imap jk |"use jk for exiting insert mode :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab smarttab autoindent "Nicer tab actions - "Move aroung splits without the C-W prefix :nnoremap :nnoremap :nnoremap :nnoremap +"Easier fzf keybindings +:nnoremap :Rg! +:nnoremap :Files! "More natural split directions :set splitbelow :set splitright "Auto-resize splits when terminal window changes size (e.g. when splitting or "zooming with tmux :autocmd VimResized * wincmd = - +"Airline status bar +:let g:airline_theme='bubblegum'