update files

This commit is contained in:
jay 2022-04-25 10:17:18 +08:00
parent 152c6da25a
commit 77ae3b52f1
2 changed files with 10 additions and 8 deletions

View File

@ -111,8 +111,6 @@ set noswapfile
set background=dark set background=dark
set termguicolors
function! AdaptColorscheme() function! AdaptColorscheme()
highlight clear CursorLine highlight clear CursorLine
highlight Normal ctermbg=none highlight Normal ctermbg=none
@ -241,6 +239,10 @@ let g:tagbar_type_go = {
\ 'ctagsargs' : '-sort -silent' \ 'ctagsargs' : '-sort -silent'
\ } \ }
" copilot setup
imap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true
" vim-go setting " vim-go setting
autocmd FileType go nmap <leader>err <Plug>(go-iferr) autocmd FileType go nmap <leader>err <Plug>(go-iferr)
let g:go_fmt_fail_silently = 1 let g:go_fmt_fail_silently = 1

12
tmux
View File

@ -61,12 +61,12 @@ bind-key C-l select-window -t :+
bind-key -n C-l select-window -t :+ bind-key -n C-l select-window -t :+
# navigate panes # navigate panes
bind-key j select-pane -t :.- # bind-key j select-pane -t :.-
bind-key C-j select-pane -t :.- # bind-key C-j select-pane -t :.-
bind-key -n C-j select-pane -t :.- # bind-key -n C-j select-pane -t :.-
bind-key k select-pane -t :.+ # bind-key k select-pane -t :.+
bind-key C-k select-pane -t :.+ # bind-key C-k select-pane -t :.+
bind-key -n C-k select-pane -t :.+ # bind-key -n C-k select-pane -t :.+
# Copy-mode (vi-mode) # Copy-mode (vi-mode)
# #