[feat] update nvim

This commit is contained in:
jay 2022-09-03 16:15:14 +08:00
parent d479e2d615
commit bda827eb44
2 changed files with 14 additions and 1 deletions

View File

@ -73,6 +73,8 @@ Plug 'inkarkat/vim-mark'
Plug 'rking/ag.vim' Plug 'rking/ag.vim'
Plug 'terryma/vim-multiple-cursors' Plug 'terryma/vim-multiple-cursors'
Plug 'lukas-reineke/indent-blankline.nvim'
" temp plugin " temp plugin
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'buoto/gotests-vim' Plug 'buoto/gotests-vim'
@ -320,6 +322,15 @@ let g:fzf_history_dir = '~/.local/share/fzf-history'
lua << EOF lua << EOF
vim.opt.list = true
vim.opt.listchars:append "eol:↴"
require("indent_blankline").setup {
show_end_of_line = true,
show_current_context = true,
show_current_context_start = true,
}
local nvlsp = require'lspconfig' local nvlsp = require'lspconfig'
local lspSig = require'lsp_signature' local lspSig = require'lsp_signature'
@ -389,6 +400,7 @@ cmp.setup {
-- behavior = cmp.ConfirmBehavior.Insert, -- behavior = cmp.ConfirmBehavior.Insert,
select = true, select = true,
}), }),
['<C-e>'] = cmp.mapping.abort(),
-- ['<Tab>'] = cmp.mapping(cmp.mapping.select_next_item(), { 'i', 's' }), -- ['<Tab>'] = cmp.mapping(cmp.mapping.select_next_item(), { 'i', 's' }),
}), }),
snippet = { snippet = {

3
tmux
View File

@ -6,7 +6,8 @@ run-shell "tmux setenv -g TMUX_VERSION_29 $(awk 'BEGIN {print (\"'$(tmux -V | se
# ----------------------------- # -----------------------------
# Global settings # Global settings
# ----------------------------- # -----------------------------
set -g default-terminal xterm-256color # set -g default-terminal xterm-256color
set -g default-terminal screen-256color
set-option -ga terminal-overrides ",*256col*:Tc" set-option -ga terminal-overrides ",*256col*:Tc"
# scrollback buffer n lines # scrollback buffer n lines