diff options
author | Yigit Sever | 2023-05-13 13:02:22 +0300 |
---|---|---|
committer | Yigit Sever | 2023-05-13 13:02:22 +0300 |
commit | 4747f73c04ead91e4147b7946a97658899a9526f (patch) | |
tree | e0d423af42745327457bbc51ed56c348f03bed8e /.config | |
parent | 004ed90c2e666461452f702cfdcbbb9222cff9a4 (diff) | |
download | dotfiles-4747f73c04ead91e4147b7946a97658899a9526f.tar.gz dotfiles-4747f73c04ead91e4147b7946a97658899a9526f.tar.bz2 dotfiles-4747f73c04ead91e4147b7946a97658899a9526f.zip |
nvim: purge vista.vim
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/plugin/autocmds.vim | 3 | ||||
-rw-r--r-- | .config/nvim/lua/mappings.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 2 | ||||
-rw-r--r-- | .config/nvim/my_snippets/c.snippets | 4 |
5 files changed, 0 insertions, 17 deletions
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim index c953a24..05b7ce9 100644 --- a/.config/nvim/after/plugin/autocmds.vim +++ b/.config/nvim/after/plugin/autocmds.vim | |||
@@ -12,6 +12,3 @@ autocmd BufReadPost * | |||
12 | \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' | 12 | \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' |
13 | \ | exe "normal! g`\"" | 13 | \ | exe "normal! g`\"" |
14 | \ | endif | 14 | \ | endif |
15 | |||
16 | " Currently for one c snippet, but can embed into lualine | ||
17 | autocmd VimEnter * call vista#RunForNearestMethodOrFunction() | ||
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index 8744032..adc68a9 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua | |||
@@ -128,10 +128,6 @@ vim.keymap.set('n', '<leader>fg', "<cmd>lua require('telescope.builtin').live_gr | |||
128 | vim.keymap.set('n', '<leader>fb', "<cmd>lua require('telescope.builtin').buffers()<cr>") | 128 | vim.keymap.set('n', '<leader>fb', "<cmd>lua require('telescope.builtin').buffers()<cr>") |
129 | vim.keymap.set('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>") | 129 | vim.keymap.set('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>") |
130 | 130 | ||
131 | -- vista | ||
132 | vim.keymap.set('n', '<F3>', ":Vista focus<cr>") | ||
133 | vim.keymap.set('n', '<F4>', ":Vista finder<cr>") | ||
134 | |||
135 | -- nvim tree mappings | 131 | -- nvim tree mappings |
136 | vim.keymap.set('n', 'vt', ':NvimTreeToggle<CR>') | 132 | vim.keymap.set('n', 'vt', ':NvimTreeToggle<CR>') |
137 | vim.keymap.set('n', 'vr', ':NvimTreeRefresh<CR>') | 133 | vim.keymap.set('n', 'vr', ':NvimTreeRefresh<CR>') |
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 685dee4..d5a4980 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -430,10 +430,6 @@ require('rust-tools').setup(rust_opts) | |||
430 | 430 | ||
431 | -- }}} nvim-lsp -- | 431 | -- }}} nvim-lsp -- |
432 | 432 | ||
433 | -- vista {{{ -- | ||
434 | g.vista_icon_indent = {"╰ ", "│ "} | ||
435 | -- }}} vista -- | ||
436 | |||
437 | -- indent-blankline {{{ -- | 433 | -- indent-blankline {{{ -- |
438 | vim.opt.list = true | 434 | vim.opt.list = true |
439 | 435 | ||
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 8848528..c423e8f 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -94,8 +94,6 @@ return require('packer').startup(function(use) | |||
94 | 94 | ||
95 | -- file explorer | 95 | -- file explorer |
96 | use 'kyazdani42/nvim-tree.lua' | 96 | use 'kyazdani42/nvim-tree.lua' |
97 | -- viewer & finder for lsp symbols and tags | ||
98 | use 'liuchengxu/vista.vim' | ||
99 | 97 | ||
100 | -- undo tree | 98 | -- undo tree |
101 | use { | 99 | use { |
diff --git a/.config/nvim/my_snippets/c.snippets b/.config/nvim/my_snippets/c.snippets index d4522f2..524b47f 100644 --- a/.config/nvim/my_snippets/c.snippets +++ b/.config/nvim/my_snippets/c.snippets | |||
@@ -6,7 +6,3 @@ if (${1:true}) { | |||
6 | ${0:{VISUAL}} | 6 | ${0:{VISUAL}} |
7 | } | 7 | } |
8 | endsnippet | 8 | endsnippet |
9 | |||
10 | snippet trace "printf trace baby" b | ||
11 | printf("TRACE: ${1} (`!v b:vista_nearest_method_or_function`:`!v line(".")`)\n"${2});$0 | ||
12 | endsnippet | ||