Added xbindkeysrc for Apple Mouse/Keyboard
This commit is contained in:
parent
4ff1489b0b
commit
74dfd52460
@ -5,7 +5,7 @@
|
||||
# and/or modify it under the terms of the Do What The Fuck You Want
|
||||
# To Public License, Version 2, as published by Sam Hocevar. See
|
||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
||||
|
||||
for fgbg in 38 48 ; do # Foreground / Background
|
||||
for color in {0..255} ; do # Colors
|
||||
# Display the color
|
||||
|
@ -56,6 +56,8 @@
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'roxma/vim-hug-neovim-rpc'
|
||||
Plugin 'roxma/nvim-yarp'
|
||||
Plugin 'Shougo/denite.nvim'
|
||||
Plugin 'pR0Ps/molokai-dark'
|
||||
Plugin 'nathanaelkane/vim-indent-guides'
|
||||
@ -81,7 +83,7 @@
|
||||
elseif has("win32")
|
||||
set guifont=Iosevka\ Term\ Regular\ 13
|
||||
else
|
||||
set guifont=Iosevka\ Term\ Regular\ 13.5
|
||||
set guifont=Iosevka\ Term\ Regular\ 10.5
|
||||
end
|
||||
|
||||
set columns=120 lines=54
|
||||
|
35
xbindkeysrc
Normal file
35
xbindkeysrc
Normal file
@ -0,0 +1,35 @@
|
||||
###########################
|
||||
# xbindkeys configuration #
|
||||
###########################
|
||||
|
||||
# Mouse click emulation for Apple Single Button Mouse with Apple Keyboard
|
||||
# F14 - Click 1 (left click)
|
||||
"xdotool click 1"
|
||||
XF86Launch5
|
||||
# F15 - Click 2 (middle click)
|
||||
"xdotool click 2"
|
||||
XF86Launch6
|
||||
# F16 - Click 3 (right click)
|
||||
"xdotool click 3"
|
||||
XF86Launch7
|
||||
|
||||
# Media keys on Apple keyboard
|
||||
# FIXME: Media keys (except eject) don't work by themselves on my keyboard -
|
||||
# they have to be pressed with a modifier key (Mod4 = Command key)
|
||||
"pactl set-sink-volume 0 -5%"
|
||||
Mod4 + XF86AudioLowerVolume
|
||||
"pactl set-sink-volume 0 +5%"
|
||||
Mod4 + XF86AudioRaiseVolume
|
||||
"pactl set-sink-mute 0 toggle"
|
||||
Mod4 + XF86AudioMute
|
||||
"eject -T /dev/cdrom"
|
||||
XF86Eject
|
||||
|
||||
# Examples of commands:
|
||||
|
||||
"xbindkeys_show"
|
||||
control+shift + q
|
||||
|
||||
##################################
|
||||
# End of xbindkeys configuration #
|
||||
##################################
|
Loading…
Reference in New Issue
Block a user