aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-09-05 22:44:41 +0800
committerGuangxiong Lin <[email protected]>2023-09-05 22:44:41 +0800
commit224311af0e2f9239984537a6a06b66240f2b2621 (patch)
tree1829b99f1b733bcddb98418feb699104a21b33c4
parent6a8ffe5a7be1b0601faffb8cd86a71e3367f18b6 (diff)
downloaddotfiles-224311af0e2f9239984537a6a06b66240f2b2621.tar.gz
dotfiles-224311af0e2f9239984537a6a06b66240f2b2621.tar.bz2
dotfiles-224311af0e2f9239984537a6a06b66240f2b2621.zip
Update config
-rw-r--r--.aliases2
-rw-r--r--.ctags.d/python.ctags2
-rw-r--r--.vim/after/plugin/mucomplete.vim7
3 files changed, 4 insertions, 7 deletions
diff --git a/.aliases b/.aliases
index 9ca163b..fb2624c 100644
--- a/.aliases
+++ b/.aliases
@@ -11,7 +11,7 @@ alias agenda='et -e "(org-agenda nil \" \")"'
alias vimg='vim +Git +only'
# Don't save command history
-command -v topydo > /dev/null && alias t=' topydo -a'
+command -v topydo > /dev/null && alias t=' topydo'
command -v jrnl > /dev/null && alias jrnl=' jrnl'
alias gmf='git diff --merge-base'
diff --git a/.ctags.d/python.ctags b/.ctags.d/python.ctags
new file mode 100644
index 0000000..ec9d45c
--- /dev/null
+++ b/.ctags.d/python.ctags
@@ -0,0 +1,2 @@
+--exclude=.mypy_cache
+--exclude=.ruff_cache
diff --git a/.vim/after/plugin/mucomplete.vim b/.vim/after/plugin/mucomplete.vim
index 81751ba..e126e31 100644
--- a/.vim/after/plugin/mucomplete.vim
+++ b/.vim/after/plugin/mucomplete.vim
@@ -1,7 +1,3 @@
-if has('nvim')
- finish
-endif
-
let g:mucomplete#enable_auto_at_startup = 1
let g:mucomplete#minimum_prefix_length = 1
let g:mucomplete#empty_text_auto = 1
@@ -11,10 +7,9 @@ let g:mucomplete#can_complete = {}
let s:default_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\)$' }
let g:mucomplete#can_complete.default = { 'omni': s:default_cond }
let g:mucomplete#chains = {}
-let g:mucomplete#chains.default =
+let g:mucomplete#chains.default =
\ [ 'ulti', 'user', 'omni', 'keyn', 'path' ]
-
let s:c_cond = { t -> strlen(&omnifunc) > 0 && t =~# '\%(\.\|->\)$' }
let g:mucomplete#can_complete.c = { 'omni': s:c_cond }
let g:mucomplete#can_complete.objc = { 'omni': s:c_cond }