diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 5c33fb9..041b15e 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -3,8 +3,8 @@ let mapleader = " " call plug#begin('~/.vim/plugged') Plug 'ervandew/supertab' - Plug 'dracula/vim', { 'as': 'dracula' } Plug 'preservim/nerdtree' + Plug 'liuchengxu/space-vim-dark' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' Plug 'mhinz/vim-startify' @@ -27,7 +27,17 @@ set shiftwidth=2 set expandtab set hidden set background=dark -colorscheme dracula +set autoindent +set preserveindent +set copyindent + +" Set Colors +if (has("termguicolors")) + set termguicolors +endif +colorscheme space-vim-dark +hi Comment cterm=italic + " Relative numbers and when not in buiffer set absolute numbers set number relativenumber @@ -39,6 +49,12 @@ augroup END " Colors +" Disable EX Mode +map q: +" Disable EX Mode +nnoremap Q + +" Search with Ag nnoremap / :Ag nnoremap :bnext nnoremap :bprev @@ -52,3 +68,5 @@ nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags + +