summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-28 17:25:38 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-28 17:25:38 +0200
commit9547730a150c9c1639035c4d66183863dc7f0fbc (patch)
tree4900e117b9014aa3d3e7b9c64d67baca647159ac /.vimrc
parent58fab4d9baedf33dc36e78ecc7f9b7369734fa0d (diff)
Starship shell prompt + doom one theme for alacritty + vim + nvim
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 126d4ce..a1f2d4c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,5 +1,5 @@
call plug#begin('~/.vim/plugged')
- Plug 'gruvbox-community/gruvbox'
+ Plug 'romgrk/doom-one.vim'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
@@ -9,6 +9,7 @@ call plug#end()
filetype indent plugin on
syntax enable
set mouse=a
+set termguicolors
set nocompatible
set hidden
set wildmenu
@@ -33,6 +34,8 @@ set expandtab
set noswapfile
set nowrap
set background=dark
+set cursorline
+set autochdir
map Y y$
nnoremap <C-L> :nohl<CR><C-L>
@@ -56,7 +59,7 @@ nnoremap <leader>j :wincmd j<CR>
nnoremap <leader>k :wincmd k<CR>
nnoremap <leader>l :wincmd l<CR>
-colorscheme gruvbox
-highlight CursorLine cterm=NONE ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
-highlight CursorLineNr cterm=bold ctermbg=Black ctermfg=Yellow
-set cursorline
+let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
+let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
+colorscheme doom-one
+highlight CursorLineNr cterm=bold ctermbg=Black ctermfg=Blue