From 9539bea297a82fcf83ce40894b73e5280b4345fc Mon Sep 17 00:00:00 2001 From: eeva Date: Wed, 30 Mar 2016 22:58:39 +0200 Subject: [PATCH 1/6] Adding .tikz to be parsed as .tex files --- emacs/.spacemacs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 475f96c..3d253e3 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -255,6 +255,12 @@ before packages are loaded. If you are unsure, you should try in setting them in monokai monochrome )) + + ;; Use auctex with .tikz files too + (setq auto-mode-alist + (append + '(("\\.tikz\\'" . latex-mode)) + auto-mode-alist)) ) (defun dotspacemacs/user-config () @@ -281,6 +287,7 @@ you should place you code here." ;; Tex viewers (setq TeX-view-program-list '(("Zathura" "zathura-sync %n:1:%b %o"))) (setq TeX-view-program-selection '((output-pdf "Zathura"))) + ) ;; Do not write anything past this comment. This is where Emacs will From 14f47125765ae2ee22b893465c77e67b14158158 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sat, 2 Apr 2016 11:17:44 +0200 Subject: [PATCH 2/6] Added a needed warning --- Readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Readme.md b/Readme.md index 5ad3ba0..03668e0 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,10 @@ Samæ's config files ------------------- +To get this, run: + + git clone https://git.framasoft.org/mpo/dotfiles.git ~/dotfiles + To install a configuration, use: ./configure @@ -9,3 +13,5 @@ To list bundles, run: ./configure +!!! The `configure` script will only properly work if run from a subfolder of +your home directory (like ~/dotfiles) !!! \ No newline at end of file From c1669d52b92c509e900ba6d41514cca0627af80c Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sat, 2 Apr 2016 11:20:03 +0200 Subject: [PATCH 3/6] Adding dependency info --- Readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 03668e0..5fabe8b 100644 --- a/Readme.md +++ b/Readme.md @@ -3,7 +3,7 @@ Samæ's config files To get this, run: - git clone https://git.framasoft.org/mpo/dotfiles.git ~/dotfiles + git clone https://git.framasoft.org/mpo/dotfiles.git ~/dotfiles-from-samae To install a configuration, use: @@ -13,5 +13,6 @@ To list bundles, run: ./configure +!!! The `configure` script requires GNU stow (apt-get install stow, pacman -S stow, …) !!! !!! The `configure` script will only properly work if run from a subfolder of -your home directory (like ~/dotfiles) !!! \ No newline at end of file +your home directory (like ~/dotfiles-from-samae) !!! \ No newline at end of file From 0fbc8e070793f060b90690fb99d526e8f94fd8ad Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sat, 2 Apr 2016 11:20:30 +0200 Subject: [PATCH 4/6] Syntax --- Readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Readme.md b/Readme.md index 5fabe8b..e8d092c 100644 --- a/Readme.md +++ b/Readme.md @@ -14,5 +14,6 @@ To list bundles, run: ./configure !!! The `configure` script requires GNU stow (apt-get install stow, pacman -S stow, …) !!! + !!! The `configure` script will only properly work if run from a subfolder of your home directory (like ~/dotfiles-from-samae) !!! \ No newline at end of file From de18df8e6cb094e180433ef66ea13d06a35fe078 Mon Sep 17 00:00:00 2001 From: "EEva @ felin" Date: Fri, 12 Aug 2016 01:15:18 +0200 Subject: [PATCH 5/6] mouse-utf8 is deprecated --- tmux/.tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 0c289d5..744560b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -28,7 +28,7 @@ set -g @resurrect-strategy-vim 'session' set -g display-time 2000 # allow mouse mode -set -g mouse-utf8 on +#set -g mouse-utf8 on # deprecated set -g mouse on # center align the window list From 300c4e1b5b84dc8485bf0c02f7fe4b4bc36a250c Mon Sep 17 00:00:00 2001 From: "EEva @ felin" Date: Fri, 12 Aug 2016 13:34:42 +0200 Subject: [PATCH 6/6] =?UTF-8?q?Solarized=20par=20d=C3=A9faut,=20le=20termi?= =?UTF-8?q?nal=20choisit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/.tmux.conf | 12 ++++++------ vim/.vimrc | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 744560b..70f6522 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -36,14 +36,14 @@ set -g status-justify centre set -g status-right "(" set -g status-left ")" -#### COLOUR (Solarized light) +#### COLOUR (Default dark (terminal chooses variant)) # default statusbar colors -set-option -g status-bg white #base2 +set-option -g status-bg black #base02 set-option -g status-fg yellow #yellow set-option -g status-attr default # default window title colors -set-window-option -g window-status-fg brightyellow #base00 +set-window-option -g window-status-fg brightblue #base0 set-window-option -g window-status-bg default #set-window-option -g window-status-attr dim @@ -53,11 +53,11 @@ set-window-option -g window-status-current-bg default #set-window-option -g window-status-current-attr bright # pane border -set-option -g pane-border-fg white #base2 -set-option -g pane-active-border-fg brightcyan #base1 +set-option -g pane-border-fg black #base02 +set-option -g pane-active-border-fg brightgreen #base01 # message text -set-option -g message-bg white #base2 +set-option -g message-bg black #base02 set-option -g message-fg brightred #orange # pane number display diff --git a/vim/.vimrc b/vim/.vimrc index a45ac7d..d7c96e1 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -25,10 +25,13 @@ nnoremap a :echo("\ works! It is set to ") " Highlighting syntax enable if has('gui_running') + " When gui is running, it pretty much sets its own colors set background=light set guifont=Inconsolata\ 16 else - set background=light + " If we're in a terminal, then we stay default, terminal will choose + " which colors it likes. + set background=dark endif let g:solarized_termcolors=16