Emacs: cleaned compile option for C and C++.
Emacs: added support for floats highlighting. Gitconfig: init. Shell: TeXlive Netinstall PATH.master
parent
1d652c442b
commit
006b0e9843
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
||||
|
||||
|
|
4
.emacs
4
.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)
|
||||
)))
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[user]
|
||||
email = ambrevar@gmail.com
|
||||
name = Ambrevar
|
||||
[color]
|
||||
ui = true
|
3
.save
3
.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")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue