diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-05-25 20:01:35 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-05-25 20:01:35 +0530 |
commit | 2953b6da330ae5d33fbaa36decace8b6ff23297c (patch) | |
tree | 8f9ea701689846d0f5f6b7014e1c8c632422e698 | |
parent | 6f9518b6f356b4e83ba699e1a83b7b76d2fb3ce8 (diff) |
switched to catppuccin-mocha
-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 |