1
0
Fork 0

let us have the cursorline back as well as some settings for python files

This commit is contained in:
Von Random 2015-10-24 12:16:56 +03:00
parent 85f44e7961
commit 3bf1dc0207

3
vimrc
View file

@ -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>