Created
February 13, 2024 02:59
-
-
Save kghose/9041f7c3dc5088e00d6c212a85dc49d4 to your computer and use it in GitHub Desktop.
Vim configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ~/.vimrc | |
set mouse=a | |
set nu | |
set laststatus=2 | |
set statusline= | |
set statusline+=%= | |
set statusline+=\[%c] | |
set statusline+=\ %l/ | |
set statusline+=%L | |
filetype plugin on | |
let g:ale_completion_enabled=1 | |
let g:ale_linters = { | |
\ 'go': ['gopls'], | |
\} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ~/.vim/ftplugin/markdown.vim | |
setlocal tw=80 | |
setlocal wrap | |
setlocal statusline^=\%{wordcount().cursor_words}/%{wordcount().words}\ words |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment