let us have the cursorline back as well as some settings for python files
This commit is contained in:
parent
85f44e7961
commit
3bf1dc0207
1 changed files with 3 additions and 0 deletions
3
vimrc
3
vimrc
|
@ -2,6 +2,7 @@ set nocompatible
|
||||||
set background=light
|
set background=light
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set clipboard=exclude:.*
|
set clipboard=exclude:.*
|
||||||
|
set cursorline
|
||||||
set foldmethod=marker
|
set foldmethod=marker
|
||||||
set history=50
|
set history=50
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
@ -39,6 +40,8 @@ autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\<nl>\"|$
|
||||||
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python3\<nl>\"|$
|
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python3\<nl>\"|$
|
||||||
autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$
|
autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\<nl>\use strict;\<nl>\use warnings;\<nl>\use feature 'say';\<nl>\"|$
|
||||||
|
|
||||||
|
autocmd FileType python setlocal softtabstop=4 shiftwidth=4 colorcolumn=80 textwidth=80 smarttab expandtab autoindent
|
||||||
|
|
||||||
" maps
|
" maps
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
noremap <F1> <Esc>
|
noremap <F1> <Esc>
|
||||||
|
|
Loading…
Reference in a new issue