aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/init/basic.vim
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-07-13 01:04:26 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-07-13 01:04:26 +0800
commite971b4711d06710ec59e681053f5973b911af85b (patch)
tree1de215fc457f1465dfd18c72922b1ae338ea66aa /vim/init/basic.vim
parent058fa5ecbf152be3864b3a510aec418b18c35734 (diff)
Update
Diffstat (limited to 'vim/init/basic.vim')
-rw-r--r--vim/init/basic.vim12
1 files changed, 10 insertions, 2 deletions
diff --git a/vim/init/basic.vim b/vim/init/basic.vim
index 42dab16..818e996 100644
--- a/vim/init/basic.vim
+++ b/vim/init/basic.vim
@@ -9,7 +9,7 @@
9" Usage: type --- for foldmark 9" Usage: type --- for foldmark
10augroup filetype_vim 10augroup filetype_vim
11 autocmd! 11 autocmd!
12 execute "autocmd FileType vim :inoreabbrev <buffer> --- ----------------{".."{{" 12 execute "autocmd FileType vim :inoreabbrev <buffer> --- ----------------{".."{{<CR>\" }"."}}"
13 autocmd FileType vim setlocal foldmethod=marker foldlevel=0 13 autocmd FileType vim setlocal foldmethod=marker foldlevel=0
14augroup END 14augroup END
15 15
@@ -35,6 +35,13 @@ filetype plugin indent on
35set autoread 35set autoread
36autocmd FocusGained,BufEnter .* checktime 36autocmd FocusGained,BufEnter .* checktime
37 37
38" spell
39set spell
40set spellfile="/tmp/spell"
41
42" Custom sign from help page :h sign
43sign define piet text=>> texthl=Search
44
38" }}} 45" }}}
39" VISUAL ----------------{{{ 46" VISUAL ----------------{{{
40 47
@@ -79,8 +86,9 @@ set ttimeoutlen=50
79" set updatetime=4000 86" set updatetime=4000
80" autocmd CursorHold * normal! m' 87" autocmd CursorHold * normal! m'
81 88
82" TAB ----------------{{{ 89" TAB and special Chars ----------------{{{
83 90
91set tabstop=8
84set expandtab 92set expandtab
85set softtabstop=-1 93set softtabstop=-1
86 94