chore(config): use neovide

enable clipboard
add termguicolors
main
sudo pacman -Syu 2022-05-27 02:21:57 +07:00
parent e24b218bf3
commit 00b5ffc0a4
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 17 additions and 0 deletions

View File

@ -14,14 +14,23 @@ set softtabstop=4
set shiftwidth=4 set shiftwidth=4
set expandtab set expandtab
" Clipboard support
set clipboard+=unnamedplus
" Mouse support " Mouse support
set mouse=a set mouse=a
" FZF " FZF
set rtp+=~/.fzf set rtp+=~/.fzf
" GUI
" Same as VSCode
set guifont=APL385\ Unicode:h18,Agave:h18,Victor\ Mono:h18,Rec\ Mono\ Casual:h18,Cascadia\ Code:h18,JetBrains\ Mono:h18,Iosevka:h18,Fira\ Code:h18
" Plugins config " Plugins config
let g:go_gopls_gofumpt=1 let g:go_gopls_gofumpt=1
let g:nvim_tree_highlight_opened_files=1
let g:nvim_tree_show_icons={ let g:nvim_tree_show_icons={
\ 'git': 0, \ 'git': 0,
\ 'folders': 0, \ 'folders': 0,
@ -29,8 +38,15 @@ let g:nvim_tree_show_icons={
\ 'folder_arrows': 0, \ 'folder_arrows': 0,
\ } \ }
nnoremap <C-n> :NvimTreeToggle<CR> nnoremap <C-n> :NvimTreeToggle<CR>
" https://prettier.io/docs/en/vim.html
let g:neoformat_try_node_exe=1 let g:neoformat_try_node_exe=1
" https://github.com/neovide/neovide/wiki/Configuration
let g:neovide_transparency=0.8
let g:neovide_input_use_logo=v:true
let g:neovide_cursor_vfx_mode="railgun"
" vim-plug " vim-plug
" https://github.com/junegunn/vim-plug " https://github.com/junegunn/vim-plug
call plug#begin() call plug#begin()
@ -77,6 +93,7 @@ EOF
set background=dark set background=dark
if $TERM == 'xterm-kitty' if $TERM == 'xterm-kitty'
set termguicolors
" colorscheme onedark " colorscheme onedark
" colorscheme github_dark " colorscheme github_dark
colorscheme catppuccin colorscheme catppuccin