From 4747f73c04ead91e4147b7946a97658899a9526f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 13 May 2023 13:02:22 +0300 Subject: nvim: purge vista.vim --- .config/nvim/after/plugin/autocmds.vim | 3 --- .config/nvim/lua/mappings.lua | 4 ---- .config/nvim/lua/plugin_settings.lua | 4 ---- .config/nvim/lua/plugins.lua | 2 -- .config/nvim/my_snippets/c.snippets | 4 ---- 5 files changed, 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 * \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' \ | exe "normal! g`\"" \ | endif - -" Currently for one c snippet, but can embed into lualine -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', 'fg', "lua require('telescope.builtin').live_gr vim.keymap.set('n', 'fb', "lua require('telescope.builtin').buffers()") vim.keymap.set('n', 'fh', "lua require('telescope.builtin').help_tags()") --- vista -vim.keymap.set('n', '', ":Vista focus") -vim.keymap.set('n', '', ":Vista finder") - -- nvim tree mappings vim.keymap.set('n', 'vt', ':NvimTreeToggle') vim.keymap.set('n', 'vr', ':NvimTreeRefresh') 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) -- }}} nvim-lsp -- --- vista {{{ -- -g.vista_icon_indent = {"╰ ", "│ "} --- }}} vista -- - -- indent-blankline {{{ -- vim.opt.list = true 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) -- file explorer use 'kyazdani42/nvim-tree.lua' - -- viewer & finder for lsp symbols and tags - use 'liuchengxu/vista.vim' -- undo tree 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}) { ${0:{VISUAL}} } endsnippet - -snippet trace "printf trace baby" b -printf("TRACE: ${1} (`!v b:vista_nearest_method_or_function`:`!v line(".")`)\n"${2});$0 -endsnippet -- cgit v1.2.3-70-g09d2