python vimrc stuff

This commit is contained in:
asdf 2022-07-31 15:13:01 -05:00
parent 218dcb7d5d
commit c5ae51ff79
2 changed files with 20 additions and 4 deletions

View File

@ -41,11 +41,14 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Fix monitor setup on bootup
exec xrandr --output DVI-D-0 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-0 --off --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 1923x0 --rotate normal --output VGA-1-1 --off --output HDMI-1-1 --off
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec alacritty
bindsym $mod+Return exec --no-startup-id alacritty
# kill focused window
bindsym $mod+Shift+q kill
@ -170,8 +173,8 @@ workspace $ws4 output HDMI-1
# to find the class, run xprop in a terminal and click on a program
#assign [class="Alacritty"] $ws1
assign [class="firefox"] $ws2
assign [class="pycharm"] $ws3
assign [class="Gimp"] $ws3
# assign [class="pycharm"] $ws3
# assign [class="Gimp"] $ws3
# these programs will float
for_window [class="kcalc"] floating enable
@ -244,7 +247,7 @@ set $bar-inactive_workspace #755B69
#}
# set background on startup
set $wallpaper ~/Pictures/wallpapers/trees_fog.jpg
set $wallpaper ~/Pictures/wallpapers/galaxy.jpg
exec --no-startup-id feh --bg-fill $wallpaper
# turn picom on on start up

View File

@ -20,3 +20,16 @@ let $RC="$HOME/.vimrc"
" Set default path
set path=.,**
" Plugin stuff
execute pathogen#infect()
" Always show file name
set laststatus=2
" Folding (move to python specific vim file?)
set foldmethod=indent
set foldnestmax=2
nnoremap <space> za
vnoremap <space> zf