mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user