Added golang filetype to ranger, Enter->CR in vimconfigs

This commit is contained in:
TuDatTr
2020-01-04 08:42:48 +01:00
parent 77e03694cb
commit 5c0c9da67a
8 changed files with 23 additions and 19 deletions

View File

@@ -2,10 +2,10 @@
" Shortcuts
imap <leader>ifm if<Space>__name__<Space>==<Space>'__main__':<Enter>
imap <leader>ifm if<Space>__name__<Space>==<Space>'__main__':<CR>
" Compiling
map <C-c><C-c> <Esc>:!clear; python %<Enter>
map <C-c><C-c> <Esc>:!clear; python %<CR>
" Use the below highlight group when displaying bad whitespace is desired.
highlight BadWhitespace ctermbg=red guibg=red