vim and bash changes. Going for powerline setup if possible
This commit is contained in:
parent
e5f13fb686
commit
02675d24d2
|
@ -24,4 +24,5 @@ stow -t ~ urxvt
|
|||
stow -t ~ newsboat
|
||||
stow -t ~ sublime
|
||||
stow -t ~ bash
|
||||
stow -t ~ vim
|
||||
~~~
|
||||
|
|
|
@ -158,6 +158,12 @@ PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
|
|||
#Disable CapsLock
|
||||
setxkbmap -option ctrl:nocaps
|
||||
|
||||
#Powerline
|
||||
powerline-daemon -q
|
||||
POWERLINE_BASH_CONTINUATION=1
|
||||
POWERLINE_BASH_SELECT=1
|
||||
. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
|
||||
|
||||
#Disable some CTRL for VIM commands
|
||||
bind -r '\C-s'
|
||||
stty -ixon
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
syntax on
|
||||
|
||||
set clipboard=unnamed
|
||||
set smartindent
|
||||
set shiftwidth=2
|
||||
set tabstop=2
|
||||
set number
|
||||
set autoread
|
||||
|
||||
let g:powerline_pycmd="py3"
|
||||
|
||||
filetype indent on
|
||||
|
||||
:nmap <c-s> :w<CR>
|
||||
:imap <c-s> <Esc>:w<CR>a
|
||||
nnoremap <F7> :tabp<CR>
|
||||
nnoremap <F8> :tabn<CR>
|
||||
|
||||
au BufWinEnter * set number
|
Loading…
Reference in New Issue