Alt+Tab for keyboard layout switching

clean_emacs
Tuan-Dat Tran 2019-03-21 22:06:08 +01:00
parent c8f8da8e00
commit b4eece8494
8 changed files with 46 additions and 19 deletions

3
.gitignore vendored
View File

@ -2,9 +2,12 @@
\#*\# \#*\#
*.log *.log
.#* .#*
config/.ssh/known_hosts
vim/.vim/.netrwhist
vim/.vim/bundle/* vim/.vim/bundle/*
emacs/.emacs.d/* emacs/.emacs.d/*
config/.scripts/playstate config/.scripts/playstate
config/.ssh/known_hosts
!emacs/.emacs.d/snippets* !emacs/.emacs.d/snippets*
!emacs/.emacs.d/config.org !emacs/.emacs.d/config.org
!emacs/.emacs.d/ledger.org !emacs/.emacs.d/ledger.org

View File

@ -97,7 +97,7 @@ for_window [title="^Steam Keyboard$"] floating enable
############################ Startup Applications ############################# ############################ Startup Applications #############################
############################################################################### ###############################################################################
exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps; setxkbmap -option grp:lalt_lshift_toggle
exec --no-startup-id feh --randomize --bg-fill /usr/share/backgrounds/* exec --no-startup-id feh --randomize --bg-fill /usr/share/backgrounds/*
exec --no-startup-id compton -b exec --no-startup-id compton -b
exec --no-startup-id nextcloud exec --no-startup-id nextcloud

View File

@ -0,0 +1,9 @@
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=2x4tnepw.default
Default=1

23
config/.ssh/config Normal file
View File

@ -0,0 +1,23 @@
Host mx
HostName 132.252.238.12
Port 22
User infra
IdentityFile /mnt/veracrypt1/fse
Host helios
HostName 132.252.238.17
Port 22
User infra
IdentityFile /mnt/veracrypt1/fse
Host infinity
HostName mos4.de
Port 22
User infinity
IdentityFile /mnt/veracrypt1/mos4.de
Host github.com
Hostname github.com
Port 22
User git
IdentityFile /mnt/veracrypt1/git

View File

@ -1,8 +0,0 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =6
let g:netrw_dirhist_1='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll'
let g:netrw_dirhist_2='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll/INCL'
let g:netrw_dirhist_3='/home/tuan/Nextcloud/Documents/Git/infrastruktur/mailing_lists'
let g:netrw_dirhist_4='/home/tuan/.dotfiles/config/.config/termite'
let g:netrw_dirhist_5='/home/tuan/Nextcloud/Protokolle/Rechenschaftsbericht'
let g:netrw_dirhist_6='/etc/modules-load.d'

View File

@ -1,4 +0,0 @@
imap { {<Enter>}<Esc>kA
imap ( ()<Esc>i
imap () ()

View File

@ -69,15 +69,18 @@ nmap 0 ^
inoremap ;date <C-R>=strftime("%Y/%m/%d")<Enter> inoremap ;date <C-R>=strftime("%Y/%m/%d")<Enter>
inoremap ;time <C-R>=strftime("%H:%M:%S")<Enter> inoremap ;time <C-R>=strftime("%H:%M:%S")<Enter>
" Diaeresis for e.g. german " Diaeresis for e.g. german
inoremap ae ä inoremap a" ä
inoremap oe ö inoremap o" ö
inoremap ue ü inoremap u" ü
inoremap Ae Ä inoremap A" Ä
inoremap Ue Ü inoremap U" Ü
inoremap Oe Ö inoremap O" Ö
inoremap jk <Esc>
inoremap <leader>s ß inoremap <leader>s ß
inoremap <leader>e inoremap <leader>e
vnoremap jk <Esc>
" This callback will be executed when the entire command is completed " This callback will be executed when the entire command is completed
function! BackgroundCommandClose(channel) function! BackgroundCommandClose(channel)
" Read the output from the command into the quickfix window " Read the output from the command into the quickfix window

View File

@ -6,6 +6,7 @@ export GOPATH="$HOME/.go/"
# Alias # Alias
alias q="exit" alias q="exit"
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"' alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
alias pwgen='pwgen -y 20 1'
alias xsel='xsel -ib' alias xsel='xsel -ib'
# Theme # Theme