feat: removed unused mouse wheel bindings from awesomeWM config, improved vim and zsh configs
This commit is contained in:
parent
0a8380bfa6
commit
915ac3e9ab
@ -280,19 +280,6 @@ awful.screen.connect_for_each_screen(
|
|||||||
)
|
)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Mouse bindings
|
|
||||||
root.buttons(gears.table.join(
|
|
||||||
awful.button(
|
|
||||||
{}, 4,
|
|
||||||
awful.tag.viewnext
|
|
||||||
),
|
|
||||||
awful.button(
|
|
||||||
{}, 5,
|
|
||||||
awful.tag.viewprev
|
|
||||||
)
|
|
||||||
))
|
|
||||||
-- }}}
|
|
||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
globalkeys = gears.table.join(
|
globalkeys = gears.table.join(
|
||||||
-- Awesome
|
-- Awesome
|
||||||
|
9
.vimrc
9
.vimrc
@ -1,10 +1,19 @@
|
|||||||
|
" load default config
|
||||||
unlet! skip_defaults_vim
|
unlet! skip_defaults_vim
|
||||||
source $VIMRUNTIME/defaults.vim
|
source $VIMRUNTIME/defaults.vim
|
||||||
|
|
||||||
|
" settings
|
||||||
set number relativenumber
|
set number relativenumber
|
||||||
set expandtab
|
set expandtab
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set ttymouse=sgr
|
set ttymouse=sgr
|
||||||
|
set ignorecase " case insensitive searching
|
||||||
|
set smartcase " but caps
|
||||||
|
set smartindent
|
||||||
|
|
||||||
|
" packages
|
||||||
packadd! nerdtree
|
packadd! nerdtree
|
||||||
|
|
||||||
|
" packages keybindings
|
||||||
|
nnoremap <C-t> :NERDTreeToggle<CR>
|
||||||
|
4
.zshrc
4
.zshrc
@ -1,9 +1,13 @@
|
|||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
export PATH="$HOME/bin:$HOME/Applications:$PATH"
|
export PATH="$HOME/bin:$HOME/Applications:$PATH"
|
||||||
|
typeset -U path
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
export EDITOR=vim
|
||||||
|
|
||||||
# Set name of the theme to load --- if set to "random", it will
|
# Set name of the theme to load --- if set to "random", it will
|
||||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||||
|
Loading…
Reference in New Issue
Block a user