Added toggle comment, system clipoard, current line number
This commit is contained in:
8
init.vim
8
init.vim
@@ -1,5 +1,7 @@
|
|||||||
set relativenumber
|
set relativenumber
|
||||||
|
set number
|
||||||
set autoindent
|
set autoindent
|
||||||
|
set clipboard+=unnamedplus " Use system clipboard
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set cursorline
|
set cursorline
|
||||||
set ts=4 sw=4
|
set ts=4 sw=4
|
||||||
@@ -18,6 +20,8 @@ Plug 'sainnhe/sonokai'
|
|||||||
Plug 'jiangmiao/auto-pairs'
|
Plug 'jiangmiao/auto-pairs'
|
||||||
"syntax highlighting"
|
"syntax highlighting"
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
|
"shortcut to comment multiple lines"
|
||||||
|
Plug 'numToStr/Comment.nvim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||||
@@ -81,6 +85,8 @@ require'nvim-treesitter.configs'.setup {
|
|||||||
scope_incremental = "grc",
|
scope_incremental = "grc",
|
||||||
node_decremental = "grm",
|
node_decremental = "grm",
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require('Comment').setup()
|
||||||
EOF
|
EOF
|
||||||
Reference in New Issue
Block a user