added proper backspace and go syntax highlighting
This commit is contained in:
parent
4c1957af7b
commit
6b82c73d8f
@ -5,5 +5,5 @@ set -g default-terminal "screen-256color"
|
|||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
|
|
||||||
# Set display time to be longer to allow selecting
|
# Set display time to be longer to allow selecting
|
||||||
set -g display-panes-time 3000
|
set -g display-panes-time 5000
|
||||||
|
|
||||||
|
7
vimrc
7
vimrc
@ -3,6 +3,7 @@ filetype plugin indent on
|
|||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
" basics
|
" basics
|
||||||
set number
|
set number
|
||||||
@ -12,3 +13,9 @@ set background=dark
|
|||||||
syntax enable
|
syntax enable
|
||||||
colorscheme hybrid
|
colorscheme hybrid
|
||||||
|
|
||||||
|
" syntax highlighting
|
||||||
|
let g:go_highlight_fields = 1
|
||||||
|
let g:go_highlight_functions = 1
|
||||||
|
let g:go_highlight_function_calls = 1
|
||||||
|
let g:go_highlight_operators = 1
|
||||||
|
let g:go_highlight_extra_types = 1
|
||||||
|
4
zshrc
4
zshrc
@ -118,5 +118,9 @@ alias ifconfig="/sbin/ifconfig"
|
|||||||
alias gadd="git add ."
|
alias gadd="git add ."
|
||||||
alias gbug="git add . && git commit -m 'bug fixes'"
|
alias gbug="git add . && git commit -m 'bug fixes'"
|
||||||
alias gp="git push"
|
alias gp="git push"
|
||||||
|
|
||||||
|
# bb ip remove
|
||||||
|
alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"'
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user