home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the top-level directory.
This commit is contained in:
parent
c856933803
commit
65a8f7c481
119 changed files with 2 additions and 2 deletions
9
modules/home/vim/after/ftplugin/beancount.vim
Normal file
9
modules/home/vim/after/ftplugin/beancount.vim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on beancount files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
|
||||
" Have automatic padding of transactions so that decimal is on 52nd column
|
||||
let g:beancount_separator_col=52
|
||||
6
modules/home/vim/after/ftplugin/cmake.vim
Normal file
6
modules/home/vim/after/ftplugin/cmake.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use 2 spaces indentation inside CMake files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
6
modules/home/vim/after/ftplugin/fugitive.vim
Normal file
6
modules/home/vim/after/ftplugin/fugitive.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Don't highlight trailing whitespace in fugitive windows
|
||||
let b:better_whitespace_enabled=0
|
||||
let b:undo_ftplugin.='|unlet! b:better_whitespace_enabled'
|
||||
10
modules/home/vim/after/ftplugin/gitcommit.vim
Normal file
10
modules/home/vim/after/ftplugin/gitcommit.vim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Enable spell checking on commit messages
|
||||
setlocal spell
|
||||
let b:undo_ftplugin.='|setlocal spell<'
|
||||
|
||||
" Change max length of a line to 72 for this buffer
|
||||
setlocal colorcolumn=72
|
||||
let b:undo_ftplugin.='|setlocal colorcolumn<'
|
||||
6
modules/home/vim/after/ftplugin/gitconfig.vim
Normal file
6
modules/home/vim/after/ftplugin/gitconfig.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Git configuration files should use tabs to indent
|
||||
setlocal noexpandtab
|
||||
let b:undo_ftplugin.='|setlocal noexpandtab<'
|
||||
10
modules/home/vim/after/ftplugin/haskell.vim
Normal file
10
modules/home/vim/after/ftplugin/haskell.vim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on Haskell files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
|
||||
" Change max length of a line to 100 for this buffer to match official guidelines
|
||||
setlocal colorcolumn=100
|
||||
let b:undo_ftplugin.='|setlocal colorcolumn<'
|
||||
6
modules/home/vim/after/ftplugin/help.vim
Normal file
6
modules/home/vim/after/ftplugin/help.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Don't highlight trailing whitespace in help windows
|
||||
let b:better_whitespace_enabled=0
|
||||
let b:undo_ftplugin.='|unlet! b:better_whitespace_enabled'
|
||||
6
modules/home/vim/after/ftplugin/mail.vim
Normal file
6
modules/home/vim/after/ftplugin/mail.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Change max length of a line to 72 to follow the netiquette
|
||||
setlocal colorcolumn=72
|
||||
let b:undo_ftplugin.='|setlocal colorcolumn<'
|
||||
6
modules/home/vim/after/ftplugin/make.vim
Normal file
6
modules/home/vim/after/ftplugin/make.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Makefiles should use tabs to indent
|
||||
setlocal noexpandtab
|
||||
let b:undo_ftplugin.='|setlocal noexpandtab<'
|
||||
10
modules/home/vim/after/ftplugin/markdown.vim
Normal file
10
modules/home/vim/after/ftplugin/markdown.vim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on Pandoc files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
|
||||
" Use my usual text width
|
||||
setlocal textwidth=80
|
||||
let b:undo_ftplugin.='|setlocal textwidth<'
|
||||
6
modules/home/vim/after/ftplugin/netrw.vim
Normal file
6
modules/home/vim/after/ftplugin/netrw.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Don't show Netrw in buffer list
|
||||
setlocal bufhidden=delete
|
||||
let b:undo_ftplugin='|setlocal bufhidden<'
|
||||
6
modules/home/vim/after/ftplugin/nix.vim
Normal file
6
modules/home/vim/after/ftplugin/nix.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on Nix files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
6
modules/home/vim/after/ftplugin/python.vim
Normal file
6
modules/home/vim/after/ftplugin/python.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Change max length of a line to 88 for this buffer to match black's settings
|
||||
setlocal colorcolumn=88
|
||||
let b:undo_ftplugin.='|setlocal colorcolumn<'
|
||||
6
modules/home/vim/after/ftplugin/rust.vim
Normal file
6
modules/home/vim/after/ftplugin/rust.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Change max length of a line to 99 for this buffer to match official guidelines
|
||||
setlocal colorcolumn=99
|
||||
let b:undo_ftplugin.='|setlocal colorcolumn<'
|
||||
6
modules/home/vim/after/ftplugin/tex.vim
Normal file
6
modules/home/vim/after/ftplugin/tex.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use 2 spaces indentation inside TeX files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
6
modules/home/vim/after/ftplugin/tiger.vim
Normal file
6
modules/home/vim/after/ftplugin/tiger.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on tiger files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
6
modules/home/vim/after/ftplugin/yaml.vim
Normal file
6
modules/home/vim/after/ftplugin/yaml.vim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use a small indentation value on YAML files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
||||
Loading…
Add table
Add a link
Reference in a new issue