Skip to content
This repository was archived by the owner on Oct 11, 2018. It is now read-only.

Commit 232c7c1

Browse files
committed
Fix typo in vimrc
1 parent 2d954c5 commit 232c7c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vimrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" A sensible vimrc for Go development
22
"
3-
" Please note that the following settings are some default that I used
3+
" Please note that the following settings are some default that I used
44
" for years. However it might be not the case for you (and your
55
" environment). I highly encourage to change/adapt the vimrc to your own
66
" needs. Think of a vimrc as a garden that needs to be maintained and fostered
@@ -43,7 +43,7 @@ set fileformats=unix,dos,mac " Prefer Unix over Windows over OS 9 formats
4343
set noshowmatch " Do not show matching brackets by flickering
4444
set noshowmode " We show the mode with airline or lightline
4545
set ignorecase " Search case insensitive...
46-
set smartcase " ... but not it begins with upper case
46+
set smartcase " ... but not it begins with upper case
4747
set completeopt=menu,menuone " Show popup menu, even if there is one entry
4848
set pumheight=10 " Completion window max size
4949
set nocursorcolumn " Do not highlight column (speeds up highlighting)
@@ -77,7 +77,7 @@ colorscheme molokai
7777
" Set leader shortcut to a comma ','. By default it's the backslash
7878
let mapleader = ","
7979

80-
" Jump to next error with Ctrl-n and previous error with Ctrl-p. Close the
80+
" Jump to next error with Ctrl-n and previous error with Ctrl-m. Close the
8181
" quickfix window with <leader>a
8282
map <C-n> :cnext<CR>
8383
map <C-m> :cprevious<CR>
@@ -126,7 +126,7 @@ augroup go
126126
autocmd!
127127

128128
" Show by default 4 spaces for a tab
129-
autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
129+
autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
130130

131131
" :GoBuild and :GoTestCompile
132132
autocmd FileType go nmap <leader>b :<C-u>call <SID>build_go_files()<CR>

0 commit comments

Comments
 (0)