aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-30 00:19:25 +0800
committergxlin <[email protected]>2021-07-30 00:19:25 +0800
commit7d84531e60d5fdddf16b1c4d61332075127ce1c8 (patch)
treee13327ee435dc1782a6ccfab30258c107b4f20c1
parenta20ed9b8db905f1b79d6d8cf66fe1ab310168d58 (diff)
downloaddotfiles-7d84531e60d5fdddf16b1c4d61332075127ce1c8.tar.gz
dotfiles-7d84531e60d5fdddf16b1c4d61332075127ce1c8.tar.bz2
dotfiles-7d84531e60d5fdddf16b1c4d61332075127ce1c8.zip
Add config about vimwiki and orgmode
-rw-r--r--.vim/filetype.vim1
-rw-r--r--.vim/plugin/lang.plug2
-rw-r--r--.vim/plugin/vimwiki.plug3
-rw-r--r--.vim/plugin/youcompleteme.vim2
-rw-r--r--.vimrc2
5 files changed, 9 insertions, 1 deletions
diff --git a/.vim/filetype.vim b/.vim/filetype.vim
index 4d7e2c5..a1d5d7c 100644
--- a/.vim/filetype.vim
+++ b/.vim/filetype.vim
@@ -1,3 +1,4 @@
augroup filetypedetect
+ autocm BufRead,BufNewFile *.org setfiletype org
autocmd BufRead,BufNewFile *mutt-* setfiletype mail
augroup end
diff --git a/.vim/plugin/lang.plug b/.vim/plugin/lang.plug
index 338de43..6c40e71 100644
--- a/.vim/plugin/lang.plug
+++ b/.vim/plugin/lang.plug
@@ -1,2 +1,4 @@
+" vim: ft=vim
+
Plug 'habamax/vim-godot', {'for': 'gdscript'}
diff --git a/.vim/plugin/vimwiki.plug b/.vim/plugin/vimwiki.plug
index cba8593..76de8f5 100644
--- a/.vim/plugin/vimwiki.plug
+++ b/.vim/plugin/vimwiki.plug
@@ -1,3 +1,5 @@
+" vim: ft=vim
+
Plug 'vimwiki/vimwiki'
let g:vimwiki_list = [{'path': '~/Documents/notes',
@@ -7,3 +9,4 @@ au FileType vimwiki setlocal textwidth=72
let g:vimwiki_CJK_length = 1
let g:vimwiki_url_maxsave = 0
+let g:vimwiki_global_ext = 0
diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim
index 518fb34..d702738 100644
--- a/.vim/plugin/youcompleteme.vim
+++ b/.vim/plugin/youcompleteme.vim
@@ -10,5 +10,5 @@ let g:ycm_filetype_whilelist = {
\ "lua": 1
\ }
let g:ycm_filetype_blacklist = {
- \ 'ledger': 1
+ \ 'ledger': 1, 'markdown': 1, 'org': 1
\ }
diff --git a/.vimrc b/.vimrc
index 3e98c85..2cb1417 100644
--- a/.vimrc
+++ b/.vimrc
@@ -16,6 +16,8 @@ set formatoptions+=mB
set formatoptions-=tc
set secure
+set nofoldenable
+
set hidden
set completeopt=menu,menuone