diff options
-rw-r--r-- | .config/nvim/init.vim | 55 |
1 files changed, 16 insertions, 39 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0ba266a..9dfcdc0 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,34 +1,31 @@ call plug#begin('~/.local/share/nvim/plugged') - -" basic Plug 'itchyny/lightline.vim' Plug 'Yggdroot/indentLine' -" Plug 'romgrk/doom-one.vim' -" Plug 'MikunoNaka/doom-one.vim' - +Plug 'catppuccin/nvim', { 'as': 'catppuccin' } +Plug 'nvim-lualine/lualine.nvim' +Plug 'nvim-tree/nvim-web-devicons' call plug#end() - " line numbers set number set nu -" colorscheme config -" colorscheme doom-one -highlight Normal ctermbg=NONE guibg=NONE -highlight NormalNC ctermbg=NONE guibg=NONE +" disable word wrapping +set nowrap + +colorscheme catppuccin set termguicolors syntax enable +highlight Normal ctermbg=NONE guibg=NONE +highlight NormalNC ctermbg=NONE guibg=NONE -" remove vim status because lightline replaces it -set noshowmode - -" lightline config -" colorscheme wombat for lightline -let g:lightline = { - \ 'colorscheme': 'darcula' - \ } - +lua << END +require('lualine').setup { + options = { + theme = "catppuccin-mocha", + } +} +END " for tab stop filetype plugin indent on @@ -39,23 +36,3 @@ set tabstop=2 set softtabstop=2 " when indenting with '>', use 2 spaces width set shiftwidth=2 - -" mouse support for visual, etc -set mouse=a - -" disable word wrapping -set nowrap - - -" copy/paste from clipboard -" Copy to clipboard -vnoremap <leader>y "+y -nnoremap <leader>Y "+yg_ -nnoremap <leader>y "+y -nnoremap <leader>yy "+yy - -" Paste from clipboard -nnoremap <leader>p "+p -nnoremap <leader>P "+P -vnoremap <leader>p "+p -vnoremap <leader>P "+P |