summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-20 23:21:57 -0700
committerxyz <gky44px1999@gmail.com>2021-10-20 23:21:57 -0700
commitfc3b8be1281d71b1dba4154251c9071dceb5cb16 (patch)
tree18c358f1c5ba1406f603483d1962457ea40e0ff3
parenta20b994237553aeaeab4fb2b3399d8df385ade94 (diff)
refactor
-rw-r--r--.config/nvim/init.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 505b8a03..0d6d0fa4 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -18,6 +18,8 @@ Plug 'fnune/base16-vim'
"Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
" use latest vim-markdown
Plug 'tpope/vim-markdown'
+" alternatives: h-hg/fcitx.nvim, rlue/vim-barbaric, lilydjwg/fcitx.vim
+Plug 'rlue/vim-barbaric'
call plug#end()
" next line must put below `Plug 'glacambre/firenvim'`, else if click github issue textarea, then click elsewhere, then click textarea, textarea will not be selected (no cursor in it), not sure why
@@ -90,7 +92,7 @@ set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set encoding=utf-8
" some file on win10 display as unix but is dos
-if has("win32")
+if has('win32')
set fileformats=dos
" windows 10 bug, need this to change cursor back to vertical bar after leaving neovim
" the number after ver seems no effects, maybe because neovim is exited