diff options
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
| -rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index f5caac6..4accdd2 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
| @@ -225,17 +225,39 @@ g.dashboard_preview_pipeline = 'lolcat' | |||
| 225 | g.dashboard_preview_file = '~/.config/nvim/neovim.cat' | 225 | g.dashboard_preview_file = '~/.config/nvim/neovim.cat' |
| 226 | g.dashboard_preview_file_height = 14 | 226 | g.dashboard_preview_file_height = 14 |
| 227 | g.dashboard_preview_file_width = 90 | 227 | g.dashboard_preview_file_width = 90 |
| 228 | |||
| 229 | g.dashboard_custom_shortcut = { | ||
| 230 | last_session = '<leader> s l', | ||
| 231 | find_history = '<leader> f h', | ||
| 232 | find_file = '<leader> f f', | ||
| 233 | new_file = '<leader> c n', | ||
| 234 | change_colorscheme = '<leader> t c', | ||
| 235 | find_word = '<leader> f a', | ||
| 236 | book_marks = '<leader> f b', | ||
| 237 | } | ||
| 238 | |||
| 228 | -- }}} dashboard -- | 239 | -- }}} dashboard -- |
| 229 | 240 | ||
| 230 | -- treesitter {{{ -- | 241 | -- treesitter {{{ -- |
| 231 | 242 | ||
| 232 | require'nvim-treesitter.configs'.setup { | 243 | require 'nvim-treesitter.configs'.setup { |
| 233 | ensure_installed = "maintained", | 244 | ensure_installed = "maintained", |
| 234 | ignore_install = { "javascript" }, | ||
| 235 | highlight = { | 245 | highlight = { |
| 236 | enable = true, | 246 | enable = true, |
| 237 | additional_vim_regex_highlighting = false, | 247 | additional_vim_regex_highlighting = false, |
| 238 | }, | 248 | }, |
| 249 | incremental_selection = { | ||
| 250 | enable = true, | ||
| 251 | keymaps = { | ||
| 252 | init_selection = "gnn", | ||
| 253 | node_incremental = "grn", | ||
| 254 | scope_incremental = "grc", | ||
| 255 | node_decremental = "grm", | ||
| 256 | }, | ||
| 257 | }, | ||
| 258 | indent = { | ||
| 259 | enable = true | ||
| 260 | } | ||
| 239 | } | 261 | } |
| 240 | -- }}} treesitter -- | 262 | -- }}} treesitter -- |
| 241 | 263 | ||
| @@ -315,8 +337,7 @@ end | |||
| 315 | g.vista_icon_indent = {"╰ ", "│ "} | 337 | g.vista_icon_indent = {"╰ ", "│ "} |
| 316 | -- }}} vista -- | 338 | -- }}} vista -- |
| 317 | 339 | ||
| 340 | -- float-preview.nvim {{{ -- | ||
| 318 | g["float_preview#docked"] = 0 | 341 | g["float_preview#docked"] = 0 |
| 342 | -- }}} float-preview.nvim -- | ||
| 319 | 343 | ||
| 320 | -- highlight on yank | ||
| 321 | cmd('highlight HighlightedyankRegion cterm=reverse gui=reverse') | ||
| 322 | g.highlightedyank_highlight_duration = 200 | ||
