1
0
Fork 0

tabs for everything -> tabs for indentation only

This commit is contained in:
Von Random 2014-11-25 02:51:21 +03:00
parent cd17806d85
commit 286691dfd2
2 changed files with 89 additions and 90 deletions

37
shellrc
View file

@ -181,29 +181,28 @@ if is_zsh; then
# {{{ key bindings # {{{ key bindings
bindkey -e bindkey -e
# urxvt # urxvt
bindkey '^[[7~' beginning-of-line # home bindkey '^[[7~' beginning-of-line # home
bindkey '^[[8~' end-of-line # end bindkey '^[[8~' end-of-line # end
bindkey '^[Oc' forward-word # ctrl + right bindkey '^[Oc' forward-word # ctrl + right
bindkey '^[Od' backward-word # ctrl + left bindkey '^[Od' backward-word # ctrl + left
bindkey '^[[3^' delete-word # ctrl + del bindkey '^[[3^' delete-word # ctrl + del
#bindkey '^H' backward-delete-word # ctrl + backspace
# screen # screen
bindkey '^[[1~' beginning-of-line # home bindkey '^[[1~' beginning-of-line # home
bindkey '^[[4~' end-of-line # end bindkey '^[[4~' end-of-line # end
# xterm # xterm
bindkey '^[[H' beginning-of-line # home bindkey '^[[H' beginning-of-line # home
bindkey '^[[F' end-of-line # end bindkey '^[[F' end-of-line # end
# most of them (but not urxvt) # most of them (but not urxvt)
bindkey '^[[1;5C' forward-word # ctrl + right bindkey '^[[1;5C' forward-word # ctrl + right
bindkey '^[[1;5D' backward-word # ctrl + left bindkey '^[[1;5D' backward-word # ctrl + left
bindkey '^[[3;5~' delete-word # ctrl + del bindkey '^[[3;5~' delete-word # ctrl + del
# all of them # all of them
bindkey '^[[5~' backward-word # page up bindkey '^[[5~' backward-word # page up
bindkey '^[[6~' forward-word # page down bindkey '^[[6~' forward-word # page down
bindkey '^[[3~' delete-char # del bindkey '^[[3~' delete-char # del
bindkey '^R' history-incremental-search-backward # ctrl + r bindkey '^R' history-incremental-search-backward # ctrl + r
bindkey '^[m' copy-prev-shell-word # alt + m bindkey '^[m' copy-prev-shell-word # alt + m
bindkey -s '^j' '^atime ^m' # ctrl + j bindkey -s '^j' '^atime ^m' # ctrl + j
# }}} # }}}
# {{{ global aliases # {{{ global aliases
alias -g L='| less -R' alias -g L='| less -R'

View file

@ -1,37 +1,37 @@
! vim: ft=xdefaults ! vim: ft=xdefaults
! {{{ xft and cursor configuration ! {{{ xft and cursor configuration
Xcursor.theme: Neutral Xcursor.theme: Neutral
Xft.antialias: true Xft.antialias: true
Xft.rgba: rgb Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintslight Xft.hintstyle: hintslight
Xft.dpi: 96 Xft.dpi: 96
! }}} ! }}}
! {{{ urxvt ! {{{ urxvt
#define urxvt_font xft:Terminus:bold:size=11:antialias=false #define urxvt_font xft:Terminus:bold:size=11:antialias=false
URxvt.scrollBar: false URxvt.scrollBar: false
URxvt.font: urxvt_font URxvt.font: urxvt_font
URxvt.boldFont: urxvt_font URxvt.boldFont: urxvt_font
URxvt.boldItalicFont: urxvt_font URxvt.boldItalicFont: urxvt_font
URxvt.italicFont: urxvt_font URxvt.italicFont: urxvt_font
URxvt.saveLines: 1000 URxvt.saveLines: 1000
URxvt.iso14755: false URxvt.iso14755: false
URxvt.visualBell: false URxvt.visualBell: false
URxvt.urgentOnBell: true URxvt.urgentOnBell: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
URxvt.termName: rxvt-unicode-256color URxvt.termName: rxvt-unicode-256color
URxvt.fading: 0 URxvt.fading: 0
! icon (needs pixbuf support compiled) ! icon (needs pixbuf support compiled)
URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg
! urxvt perl extensions ! urxvt perl extensions
URxvt.perl-ext-common: default,matcher,clipboard URxvt.perl-ext-common: default,matcher,clipboard
URxvt.url-launcher: /usr/bin/firefox URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 3 URxvt.matcher.button: 3
URxvt.keysym.C-C: perl:clipboard:copy URxvt.keysym.C-C: perl:clipboard:copy
URxvt.keysym.C-V: perl:clipboard:paste URxvt.keysym.C-V: perl:clipboard:paste
! }}} ! }}}
! {{{ drop in Solarized colorscheme for Xresources/Xdefaults ! {{{ drop in Solarized colorscheme for Xresources/Xdefaults
@ -55,74 +55,74 @@ URxvt.keysym.C-V: perl:clipboard:paste
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 !!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
!! common !! common
#define S_yellow #b58900 #define S_yellow #b58900
#define S_orange #cb4b16 #define S_orange #cb4b16
#define S_red #dc322f #define S_red #dc322f
#define S_magenta #d33682 #define S_magenta #d33682
#define S_violet #6c71c4 #define S_violet #6c71c4
#define S_blue #268bd2 #define S_blue #268bd2
#define S_cyan #2aa198 #define S_cyan #2aa198
#define S_green #859900 #define S_green #859900
!! dark !! dark
#define S_base03 #002b36 #define S_base03 #002b36
#define S_base02 #073642 #define S_base02 #073642
#define S_base01 #586e75 #define S_base01 #586e75
#define S_base00 #657b83 #define S_base00 #657b83
#define S_base0 #839496 #define S_base0 #839496
#define S_base1 #93a1a1 #define S_base1 #93a1a1
#define S_base2 #eee8d5 #define S_base2 #eee8d5
#define S_base3 #fdf6e3 #define S_base3 #fdf6e3
!! light !! light
!#define S_base03 #fdf6e3 !#define S_base03 #fdf6e3
!#define S_base02 #eee8d5 !#define S_base02 #eee8d5
!#define S_base01 #93a1a1 !#define S_base01 #93a1a1
!#define S_base00 #839496 !#define S_base00 #839496
!#define S_base0 #657b83 !#define S_base0 #657b83
!#define S_base1 #586e75 !#define S_base1 #586e75
!#define S_base2 #073642 !#define S_base2 #073642
!#define S_base3 #002b36 !#define S_base3 #002b36
*background: S_base03 *background: S_base03
*foreground: S_base0 *foreground: S_base0
*fading: 40 *fading: 40
*colorBD: S_base3 *colorBD: S_base3
*fadeColor: S_base03 *fadeColor: S_base03
*cursorColor: S_base3 *cursorColor: S_base3
*pointerColorBackground:S_base01 *pointerColorBackground:S_base01
*pointerColorForeground:S_base1 *pointerColorForeground:S_base1
!! black dark/light !! black dark/light
*color0: S_base02 *color0: S_base02
*color8: S_base03 *color8: S_base03
!! red dark/light !! red dark/light
*color1: S_red *color1: S_red
*color9: S_orange *color9: S_orange
!! green dark/light !! green dark/light
*color2: S_green *color2: S_green
*color10: S_base01 *color10: S_base01
!! yellow dark/light !! yellow dark/light
*color3: S_yellow *color3: S_yellow
*color11: S_base00 *color11: S_base00
!! blue dark/light !! blue dark/light
*color4: S_blue *color4: S_blue
*color12: S_base0 *color12: S_base0
!! magenta dark/light !! magenta dark/light
*color5: S_magenta *color5: S_magenta
*color13: S_violet *color13: S_violet
!! cyan dark/light !! cyan dark/light
*color6: S_cyan *color6: S_cyan
*color14: S_base1 *color14: S_base1
!! white dark/light !! white dark/light
*color7: S_base2 *color7: S_base2
*color15: S_base3 *color15: S_base3
! }}} ! }}}