about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-06-15 16:03:25 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-06-15 16:03:25 +0700
commit4b637dae5cb2db3dc66af59b3afb8370e5686d23 (patch)
treed3e1379ef4ff908777beb0d3c6284b34e4e3a934
parent2cc273fb67b0151beae897c7dccc55c4cf833959 (diff)
downloaddotfiles-4b637dae5cb2db3dc66af59b3afb8370e5686d23.tar.gz
Update 2020-06-15
-rw-r--r--awesome/.config/awesome/rc.lua6
-rw-r--r--debian/.bashrc2
-rwxr-xr-xvim/.vim/vimrc3
3 files changed, 3 insertions, 8 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index db17aae..4c1566f 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -53,8 +53,6 @@ local pulsemixer = terminal .. " -e pulsemixer"
 local ranger = terminal .. " -e ranger"
 local irc = terminal .. " -e ircII cnx irc.freenode.net"
 local python3 = terminal .. " -e python3"
-local raku = terminal .. " -e raku"
-local octave = terminal .. " -e octave"
 local guile = terminal .. " -e guile"
 local clojure = terminal .. " -e clojure"
 local emacs = "emacs"
@@ -487,14 +485,10 @@ local globalkeys = awful.util.table.join(
             {description = "open ranger at /data", group = "launcher"}),
   awful.key({modkey}, "p", spawner(python3),
             {description = "open Python 3 interpreter", group = "launcher"}),
-  awful.key({modkey, "Shift"}, "p", spawner(raku),
-            {description = "open Raku", group = "launcher"}),
   awful.key({modkey}, "c", spawner(clojure),
             {description = "open Clojure interpreter", group = "launcher"}),
   awful.key({modkey}, "g", spawner(guile),
             {description = "open Guile interpreter", group = "launcher"}),
-  awful.key({modkey}, "o", spawner(octave),
-            {description = "open Octave", group = "launcher"}),
   awful.key({modkey}, "z", spawner"zathura",
             {description = "open zathura document viewer", group = "launcher"}),
   awful.key({modkey}, "d", spawner"diodon",
diff --git a/debian/.bashrc b/debian/.bashrc
index 249b181..6928af4 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -92,12 +92,12 @@ alias la='ls -A'
 # See /usr/share/doc/bash-doc/examples in the bash-doc package.
 alias l='$(fc -ln -1) | less -r'
 alias r=ranger
+alias rp='ranger $HOME/Sources/pip/src/pip/_internal'
 alias gcc='gcc -Wall -Wextra -pedantic -O2 -lm'
 alias g++='g++ -Wall -Wextra -pedantic -O2 -lm'
 alias fpc='fpc -O1 -XS -gl'
 alias x='cd $HOME && startx && cd -'
 alias backup='rsync -avh --delete /home/ /data/Home/'
-alias pwip='python3 $HOME/Sources/pip/src/pip'
 eval $(thefuck --alias)
 
 function ipfs-cors {
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 14a465d..c56b01c 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -17,10 +17,11 @@ set diffopt+=algorithm:patience
 
 autocmd!
 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
+autocmd BufNewFile,BufRead *.sql setlocal filetype=mysql
 autocmd BufNewFile,BufRead *.m setlocal filetype=octave
 autocmd FileType asm,c,h,go,glsl
       \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
-autocmd FileType vim,sh,lua,tex,cmake,cpp,sql,html,octave,pascal
+autocmd FileType vim,sh,lua,tex,cmake,cpp,mysql,html,octave,pascal
       \ setlocal shiftwidth=2
 autocmd FileType rst setlocal shiftwidth=3
 autocmd FileType java setlocal omnifunc=javacomplete#Complete