NVIM with Lazy.vim Package Manager

- Added the basic setting for functional LSP.
- Split configurations into multiple files suitable for Lazy usage.
This commit is contained in:
Pratik Tripathy
2023-12-24 23:39:58 +05:30
parent cbe069367b
commit 14bca30695
13 changed files with 228 additions and 17 deletions

View File

@@ -8,6 +8,7 @@ set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
set autoindent smartindent
syntax on " syntax highlighting.
set cursorline " Hightlight cursor line
set showmatch " Highlight matching braces
set ls=2 " Show a status line
set wrap " Wrap text

View File

@@ -36,6 +36,9 @@ nnoremap <Leader>/ :call clearmatches()<CR>:noh<CR>
" Make space-bar the leader-key
let mapleader = " "
" Changes the pwd to the opened file's directory
nnoremap <leader>cd :lcd %:h<CR>
" Map easymotion Plugin to <Leader>j
map <leader>j <Plug>(easymotion-s)
@@ -45,6 +48,3 @@ nnoremap <leader>e :lcd %:h<CR> :NERDTreeToggleVCS<CR>
let g:NERDTreeShowHidden = 1
let g:NERDTreeWinSize = 20
" Changes the pwd to the opened file's directory
nnoremap <leader>cd :lcd %:h<CR>