summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <me@ubh.sh>2023-10-11 22:57:00 +0000
committerShubham Saini <me@ubh.sh>2023-10-11 22:57:00 +0000
commit8930acf046500650a1ae030f21eb3c8289afeaa9 (patch)
tree1fe1818a5d2994ea5323824d8a47699cfb57bd7f
parent3b923cdfa8a7332ec50218bb98b5b3d82b2d1dc2 (diff)
vim: added yaml
-rw-r--r--hosts/morpheus/configuration.nix2
-rw-r--r--modules/init.vim7
2 files changed, 2 insertions, 7 deletions
diff --git a/hosts/morpheus/configuration.nix b/hosts/morpheus/configuration.nix
index 8b2ba27..ab71243 100644
--- a/hosts/morpheus/configuration.nix
+++ b/hosts/morpheus/configuration.nix
@@ -11,7 +11,7 @@
11 11
12 homebrew = { 12 homebrew = {
13 enable = true; 13 enable = true;
14 casks = [ "brave-browser" "karabiner-elements" "adobe-acrobat-reader" ]; 14 casks = [ "brave-browser" "karabiner-elements" "adobe-acrobat-reader" "microsoft-remote-desktop" ];
15 }; 15 };
16 16
17 nixpkgs = { 17 nixpkgs = {
diff --git a/modules/init.vim b/modules/init.vim
index 99b1938..997e6fa 100644
--- a/modules/init.vim
+++ b/modules/init.vim
@@ -4,7 +4,7 @@ let &t_ZM = "\e[3m"
4 4
5augroup plaintext 5augroup plaintext
6 autocmd! 6 autocmd!
7 autocmd FileType text,markdown setlocal ts=2 sts=2 sw=2 expandtab textwidth=60 7 autocmd FileType text,markdown,yaml setlocal ts=2 sts=2 sw=2 expandtab textwidth=60
8augroup END 8augroup END
9 9
10augroup webdev 10augroup webdev
@@ -13,11 +13,6 @@ augroup webdev
13 autocmd FileType less,css,html nnoremap <Leader>s viB:sort<cr> 13 autocmd FileType less,css,html nnoremap <Leader>s viB:sort<cr>
14augroup END 14augroup END
15 15
16augroup lisp_stuff
17 autocmd!
18 autocmd BufReadPost *.lisp set filetype=scheme
19augroup END
20
21augroup yankhl 16augroup yankhl
22 autocmd! 17 autocmd!
23 autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank() 18 autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank()