Use modules folder
This commit is contained in:
parent
e42f845f09
commit
2903676336
46 changed files with 21 additions and 21 deletions
27
neovim/vimrc
27
neovim/vimrc
|
@ -1,27 +0,0 @@
|
|||
" Temporary configuration for editing Nix files
|
||||
syntax on set autoindent set expandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
|
||||
" Shortcutting split navigation
|
||||
map <C-h> <C-w>h
|
||||
map <C-j> <C-w>j
|
||||
map <C-k> <C-w>k
|
||||
map <C-l> <C-w>l
|
||||
|
||||
" v for vertical, s for side-by-side
|
||||
map <C-w>v :split<CR>
|
||||
map <C-w>s :vsplit<CR>
|
||||
|
||||
" Use system clipboard
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
" Markdown configuration
|
||||
autocmd FileType markdown setlocal spell spelllang+=cjk linebreak expandtab
|
||||
let g:vim_markdown_fenced_languages = ['rs=rust', 'RS=rust'] " https://github.com/preservim/vim-markdown/issues/618
|
||||
let g:vim_markdown_frontmatter = 1
|
||||
|
||||
" Tegaki Tuesday formatting
|
||||
autocmd BufRead,BufNewFile */tegakituesday.com/content/** set formatoptions-=r
|
||||
" prevent automatically adding new hyphen on enter, though causes some issues
|
||||
" https://stackoverflow.com/a/4896097
|
Loading…
Add table
Add a link
Reference in a new issue