Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
haininhhoang94 committed Mar 8, 2021
1 parent d83333b commit 23920d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions general/functions.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
" Turn spellcheck on for markdown files, and turn on indent
augroup auto_spellcheck
autocmd BufNewFile,BufRead *.md setlocal spell
autocmd BufNewFile,BufRead *.md setlocal tabstop=2
autocmd BufNewFile,BufRead *.md setlocal shiftwidth=2
" autocmd BufNewFile,BufRead *.md setlocal tabstop=2
" autocmd BufNewFile,BufRead *.md setlocal shiftwidth=2

nnoremap <f10> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
Expand Down
6 changes: 3 additions & 3 deletions general/settings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ set splitbelow " Horizontal splits will automatically be below
set splitright " Vertical splits will automatically be to the right
set t_Co=256 " Support 256 colors
set conceallevel=0 " So that I can see `` in markdown files
set tabstop=4 " Insert 4 spaces for a tab
set softtabstop=0 " Change the number
set tabstop=2 " Insert 2 spaces for a tab
" set softtabstop=0 " Change the number
set expandtab " Convert tabs to space
set shiftwidth=4 " Change the number of space characters inserted for indentation
set shiftwidth=2 " Change the number of space characters inserted for indentation
set smarttab " Makes tabbing smarter will realize you have 2 vs 4
set smartindent " Makes indenting smart
set autoindent " Good auto indent
Expand Down

0 comments on commit 23920d6

Please sign in to comment.