diff --git a/Readme.md b/Readme.md index 5ad3ba0..e8d092c 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-from-samae + To install a configuration, use: ./configure @@ -9,3 +13,7 @@ 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 diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 2c04873..3d253e3 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -255,7 +255,12 @@ before packages are loaded. If you are unsure, you should try in setting them in monokai monochrome )) - (add-to-list 'auto-mode-alist '("\\.tikz\\'" . latex-mode)) + + ;; Use auctex with .tikz files too + (setq auto-mode-alist + (append + '(("\\.tikz\\'" . latex-mode)) + auto-mode-alist)) ) (defun dotspacemacs/user-config () @@ -282,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 diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 0c289d5..70f6522 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 @@ -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/.vim/.netrwhist b/vim/.vim/.netrwhist new file mode 100644 index 0000000..37d04d5 --- /dev/null +++ b/vim/.vim/.netrwhist @@ -0,0 +1,6 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhist_cnt =4 +let g:netrw_dirhist_1='/home/eeva/teaching/2015-ATER/ASR/TP26' +let g:netrw_dirhist_2='/home/eeva/.config/termite' +let g:netrw_dirhist_3='/home/eeva/work/OTB2.demo' +let g:netrw_dirhist_4='/etc/X11/xorg.conf.d' diff --git a/vim/.vimrc b/vim/.vimrc index db7fcfd..d7c96e1 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -25,9 +25,12 @@ 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 + " If we're in a terminal, then we stay default, terminal will choose + " which colors it likes. set background=dark endif