diff options
author | Yigit Sever | 2021-10-12 12:26:56 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-12 12:26:56 +0300 |
commit | 1d1850fa8bf8c4ae099eb01575065574be05f723 (patch) | |
tree | 9f3eec265f077361a172012200a037e5bc4e5bcd /.config/nvim | |
parent | 96ea50074e46562f6d7fc9362a1295ddaac0cc56 (diff) | |
download | dotfiles-1d1850fa8bf8c4ae099eb01575065574be05f723.tar.gz dotfiles-1d1850fa8bf8c4ae099eb01575065574be05f723.tar.bz2 dotfiles-1d1850fa8bf8c4ae099eb01575065574be05f723.zip |
nvim: tagbar -> vista
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 10 |
3 files changed, 12 insertions, 5 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index de661e3..a7827d4 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua | |||
@@ -155,4 +155,7 @@ map('n', '<leader>fg', "<cmd>lua require('telescope.builtin').live_grep()<cr>") | |||
155 | map('n', '<leader>fb', "<cmd>lua require('telescope.builtin').buffers()<cr>") | 155 | map('n', '<leader>fb', "<cmd>lua require('telescope.builtin').buffers()<cr>") |
156 | map('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>") | 156 | map('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>") |
157 | 157 | ||
158 | map('n', '<F3>', ":Vista focus<cr>") | ||
159 | map('n', '<F4>', ":Vista finder<cr>") | ||
160 | |||
158 | -- }}} plug mappings -- | 161 | -- }}} plug mappings -- |
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 3676c4b..f5caac6 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -311,6 +311,10 @@ end | |||
311 | 311 | ||
312 | -- }}} nvim-lsp -- | 312 | -- }}} nvim-lsp -- |
313 | 313 | ||
314 | -- vista {{{ -- | ||
315 | g.vista_icon_indent = {"╰ ", "│ "} | ||
316 | -- }}} vista -- | ||
317 | |||
314 | g["float_preview#docked"] = 0 | 318 | g["float_preview#docked"] = 0 |
315 | 319 | ||
316 | -- highlight on yank | 320 | -- highlight on yank |
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 35750e9..7395895 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -53,7 +53,6 @@ return require('packer').startup(function() | |||
53 | -- completion preview of floating window | 53 | -- completion preview of floating window |
54 | use 'ncm2/float-preview.nvim' | 54 | use 'ncm2/float-preview.nvim' |
55 | 55 | ||
56 | |||
57 | -- language packs | 56 | -- language packs |
58 | use "nathom/filetype.nvim" | 57 | use "nathom/filetype.nvim" |
59 | -- i3 config filetype | 58 | -- i3 config filetype |
@@ -69,8 +68,9 @@ return require('packer').startup(function() | |||
69 | -- https://github.com/lambdalisue/fern.vim/issues/120 | 68 | -- https://github.com/lambdalisue/fern.vim/issues/120 |
70 | use 'antoinemadec/FixCursorHold.nvim' | 69 | use 'antoinemadec/FixCursorHold.nvim' |
71 | 70 | ||
72 | -- displays tags ordered by scope | 71 | -- viewer & finder for lsp symbols and tags |
73 | use 'majutsushi/tagbar' | 72 | use 'liuchengxu/vista.vim' |
73 | |||
74 | -- undo tree | 74 | -- undo tree |
75 | use { | 75 | use { |
76 | 'mbbill/undotree', | 76 | 'mbbill/undotree', |
@@ -80,8 +80,8 @@ return require('packer').startup(function() | |||
80 | -- highlight colors | 80 | -- highlight colors |
81 | use { | 81 | use { |
82 | 'norcalli/nvim-colorizer.lua', | 82 | 'norcalli/nvim-colorizer.lua', |
83 | ft = {'css', 'javascript', 'vim', 'html'}, | 83 | ft = {'css', 'javascript', 'vim', 'html', 'dosini'}, |
84 | config = [[require('colorizer').setup {'css', 'javascript', 'vim', 'html'}]], | 84 | config = [[require('colorizer').setup {'css', 'javascript', 'vim', 'html', 'dosini'}]], |
85 | } | 85 | } |
86 | 86 | ||
87 | -- cutlass suite, x, d, \ys etc. | 87 | -- cutlass suite, x, d, \ys etc. |