commit 3e706834eed06f6ae24dc049306837e9648379b8
parent 0a7471e9efa7c8698dcf5a5899b85440289c1970
Author: andersuno <anders.hedman01@gmail.com>
Date: Thu, 6 Aug 2020 20:56:06 +0200
Changes to be committed:
modified: .config/nvim/init.vim
modified: .config/terminator/config
Diffstat:
2 files changed, 33 insertions(+), 23 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -44,20 +44,30 @@ nnoremap <space> za
" Python PEP 8
"au BufNewFile,BufRead *.py
-au Filetype python
- \setlocal tabstop=4
- \setlocal softtabstop=4
- \setlocal shiftwidth=4
- \setlocal textwidth=79
- \setlocal expandtab
- \setlocal autoindent
- \setlocal fileformat=unix
+au Filetype python setlocal
+ \ tabstop=4
+ \ softtabstop=4
+ \ shiftwidth=4
+ \ textwidth=79
+ \ expandtab
+ \ autoindent
+ \ fileformat=unix
+
+" Yaml
+au Filetype yaml setlocal
+ \ tabstop=2
+ \ softtabstop=2
+ \ shiftwidth=2
+ \ textwidth=79
+ \ expandtab
+ \ autoindent
+ \ fileformat=unix
" Other filespecific settings
-au BufNewFile,BufRead *.js, *.html, *.css
- \set tabstop=2
- \set softtabstop=2
- \set shiftwidth=2
+au BufNewFile,BufRead *.js, *.html, *.css setlocal
+ \ tabstop=2
+ \ softtabstop=2
+ \ shiftwidth=2
" Mark bad whitespace
highlight ExtraWhitespace ctermbg=red guibg=red
diff --git a/.config/terminator/config b/.config/terminator/config
@@ -1,8 +1,18 @@
[global_config]
title_font = Source Code Pro 9
[keybindings]
- help = F11
layout_launcher = None
+ help = F11
+[profiles]
+ [[default]]
+ cursor_color = "#aaaaaa"
+ font = DejaVu Sans Mono 14
+ foreground_color = "#ffffff"
+ show_titlebar = False
+ scrollbar_position = hidden
+ scrollback_lines = 1000
+ palette = "#000000:#cd0000:#00cd00:#cdcd00:#0000ee:#cd00cd:#00cdcd:#e5e5e5:#7f7f7f:#ff0000:#00ff00:#ffff00:#5c5cff:#ff00ff:#00ffff:#ffffff"
+ use_system_font = False
[layouts]
[[default]]
[[[child1]]]
@@ -12,13 +22,3 @@
parent = ""
type = Window
[plugins]
-[profiles]
- [[default]]
- cursor_color = "#aaaaaa"
- font = DejaVu Sans Mono 11
- foreground_color = "#ffffff"
- palette = "#000000:#cd0000:#00cd00:#cdcd00:#0000ee:#cd00cd:#00cdcd:#e5e5e5:#7f7f7f:#ff0000:#00ff00:#ffff00:#5c5cff:#ff00ff:#00ffff:#ffffff"
- scrollback_lines = 1000
- scrollbar_position = hidden
- show_titlebar = False
- use_system_font = False