Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions data/vim/map.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ let mapleader = "s"
" usually we move to the end of a word to begin editing there
nnoremap e ea

" toggle list
nnoremap <F3> :set list!<CR>

" call :make
nnoremap <leader>m :make<CR>

Expand Down
11 changes: 9 additions & 2 deletions data/vim/option.vim
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
"" option.vim

set autowrite
set expandtab
set path+=/usr/bin,/usr/local/bin
set secure
set shiftwidth=4
set tags+=./tags,tags
set wildmode=list:longest

" Linux Kernel
set tabstop=8
set shiftwidth=8
set noexpandtab
set cindent
" disable indentation for labels
set cinoptions=:0
set listchars=tab:>-,trail:·

if has('termguicolors')
set termguicolors
endif
Expand Down
Loading