vim relative line numbers and some other stuff

This commit is contained in:
jond
2017-12-16 13:04:54 -06:00
parent 8ec84cb04c
commit 66eb427a0d
4 changed files with 82 additions and 1 deletions

View File

@@ -19,3 +19,5 @@ export GOPATH=$HOME/gopath
export PATH=$GOPATH:$GOPATH/bin:$PATH
export EDITOR=/usr/bin/vim
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

View File

@@ -22,6 +22,9 @@ set fileformat=unix
hi cursorline cterm=none term=none ctermbg=236
set cursorline
"enable relative line numbers
set number relativenumber
"set highlight cursorcolumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>

View File

@@ -28,5 +28,5 @@ URxvt*shading: 10
URxvt*perl-ext-common: default,matcher
URxvt*matcher.button: 1
! URxvt*url-launcher: /usr/bin/google-chrome
URxvt*url-launcher: /home/jon/Downloads/firefox/firefox
URxvt*url-launcher: /home/jon/apps/firefox/firefox

76
xorg.conf Normal file
View File

@@ -0,0 +1,76 @@
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 384.59 (mockbuild@) Wed Jul 26 13:26:18 CEST 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2415"
HorizSync 30.0 - 83.0
VertRefresh 49.0 - 61.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1070"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-6"
Option "metamodes" "DP-4: nvidia-auto-select +1920+0, DP-0: nvidia-auto-select +0+0, DP-2: nvidia-auto-select +3840+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSectionSub "Display"
Depth 24
EndSubSection
EndSection