summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugin_settings.lua
diff options
context:
space:
mode:
authorYigit Sever2021-10-12 16:19:52 +0300
committerYigit Sever2021-10-12 16:19:52 +0300
commitfb734f9e03eea1726139ea359dcdca5357b4961c (patch)
tree24472c0b273be3105d5814a69c151c5f5cda1227 /.config/nvim/lua/plugin_settings.lua
parent98cce052b661b8740cba0f63a9a42690884c502d (diff)
downloaddotfiles-fb734f9e03eea1726139ea359dcdca5357b4961c.tar.gz
dotfiles-fb734f9e03eea1726139ea359dcdca5357b4961c.tar.bz2
dotfiles-fb734f9e03eea1726139ea359dcdca5357b4961c.zip
nvim: daily love
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua31
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'
225g.dashboard_preview_file = '~/.config/nvim/neovim.cat' 225g.dashboard_preview_file = '~/.config/nvim/neovim.cat'
226g.dashboard_preview_file_height = 14 226g.dashboard_preview_file_height = 14
227g.dashboard_preview_file_width = 90 227g.dashboard_preview_file_width = 90
228
229g.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
232require'nvim-treesitter.configs'.setup { 243require '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
315g.vista_icon_indent = {"╰ ", "│ "} 337g.vista_icon_indent = {"╰ ", "│ "}
316-- }}} vista -- 338-- }}} vista --
317 339
340-- float-preview.nvim {{{ --
318g["float_preview#docked"] = 0 341g["float_preview#docked"] = 0
342-- }}} float-preview.nvim --
319 343
320-- highlight on yank
321cmd('highlight HighlightedyankRegion cterm=reverse gui=reverse')
322g.highlightedyank_highlight_duration = 200