diff --git a/.Xresources b/.Xresources index be900748..881bc9bb 100644 --- a/.Xresources +++ b/.Xresources @@ -31,7 +31,7 @@ URxvt.perl-ext-common : matcher,keyboard-select ! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped !! Keyboard-Select -URxvt.keysym.M-Escape: perl:keyboard-select:activate +URxvt.keysym.M-Escape: perl:keyboard-select:activate ! URxvt.keysym.M-s: perl:keyboard-select:search !! URL Support diff --git a/.config/luakit/binds.lua b/.config/luakit/binds.lua index b1d044ce..769097d1 100644 --- a/.config/luakit/binds.lua +++ b/.config/luakit/binds.lua @@ -209,6 +209,8 @@ add_binds("normal", { -- key({}, "b", function (w, m) w:back(m.count) end), -- Tab + key({"Control"}, "k", function (w) w:prev_tab() end), + key({"Control"}, "j", function (w) w:next_tab() end), key({"Control"}, "Page_Up", function (w) w:prev_tab() end), key({"Control"}, "Page_Down", function (w) w:next_tab() end), key({"Control"}, "Tab", function (w) w:next_tab() end), @@ -245,7 +247,6 @@ add_binds("normal", { -- CUSTOM -- Download page. - buf("^D$", function (w, c) w:enter_cmd(":download " .. (w.view.uri or "")) end), diff --git a/.emacs b/.emacs index 55573a71..765c06a8 100644 --- a/.emacs +++ b/.emacs @@ -123,7 +123,7 @@ browse-url-browser-function 'browse-url-generic) ("\\<\\(and\\|or\\|not\\)\\>" . font-lock-keyword-face) )) -;; TODO: make emacs and mutt colors fit. +;; Make emacs and mutt colors fit. (font-lock-add-keywords 'mail-mode '( @@ -154,7 +154,7 @@ browse-url-browser-function 'browse-url-generic) '( ("[^[:digit:][:space:]][[:space:]]*\\(-\\)[[:digit:]]+" 1 font-lock-constant-face) ("\\(0x[[:digit:]a-fA-F]+\\)[^[:alnum:]_]" 1 font-lock-constant-face) - ("[^[:alnum:]_]\\([[:digit:]]+\\)[^[:alnum:]_]" 1 font-lock-constant-face) + ("[^[:alnum:]_]\\([[:digit:]]*\\.?[[:digit:]]+\\)[^[:alnum:]_.]" 1 font-lock-constant-face) ("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend) ("\\<\\(TODO\\):" 1 font-lock-warning-face prepend) ))) diff --git a/.emacs.d/plugins/smart-compile/smart-compile.el b/.emacs.d/plugins/smart-compile/smart-compile.el index 17ea7679..e4e12061 100644 --- a/.emacs.d/plugins/smart-compile/smart-compile.el +++ b/.emacs.d/plugins/smart-compile/smart-compile.el @@ -51,8 +51,7 @@ (nxhtml-mode . (browse-url-of-buffer)) (html-helper-mode . (browse-url-of-buffer)) (octave-mode . (run-octave)) - ("\\.c\\'" . "gcc -Wall -Wextra -W -Wuninitialized -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wshadow -Wdeclaration-after-statement -lm %f -o %n -g -O0") -;; ("\\.c\\'" . "gcc -O2 %f -lm -o %n && ./%n") + ("\\.c\\'" . "gcc -Wall -Wextra -Wshadow -lm %f -o %n -g -O0") ("\\.[Cc]+[Pp]*\\'" . "g++ -O2 %f -lm -o %n") ("\\.m\\'" . "gcc -O2 %f -lobjc -lpthread -o %n") ("\\.java\\'" . "javac %f") diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 00000000..f3fc3418 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,5 @@ +[user] + email = ambrevar@gmail.com + name = Ambrevar +[color] + ui = true diff --git a/.save b/.save index 0b8abdc9..d89ed797 100755 --- a/.save +++ b/.save @@ -162,6 +162,9 @@ FILELIST=(${FILELIST[*]} ".gnupg/gpg-agent.conf") FILELIST=(${FILELIST[*]} ".gtkrc-2.0") FILELIST=(${FILELIST[*]} ".config/gtk-3.0/settings.ini") +## Git +FILELIST=(${FILELIST[*]} ".git") + ## Irssi FILELIST=(${FILELIST[*]} ".irssi") diff --git a/.shell.d/main_rc b/.shell.d/main_rc index 47bc535e..3c73d8ee 100644 --- a/.shell.d/main_rc +++ b/.shell.d/main_rc @@ -12,9 +12,12 @@ umask 027 export PATH=.:$PATH ## TeXlive -export PATH=/usr/local/texlive/2012/bin/x86_64-linux/:$PATH +if [ -d "/usr/local/texlive/2012/bin/x86_64-linux/" ]; then + export PATH=/usr/local/texlive/2012/bin/x86_64-linux/:$PATH +fi ## Terminal +## WARNING: this is always a bad idea! # if [[ "$TERM" = "*rxvt*" ]]; then # export TERM="rxvt-unicode" # fi diff --git a/README b/README index 4adfda20..24938a4a 100644 --- a/README +++ b/README @@ -182,6 +182,7 @@ pwgen pwsafe ranger re2c +rsync rtorrent rxvt-unicode scrot