diff options
author | Shubham Saini <me@ubh.sh> | 2023-10-11 22:57:00 +0000 |
---|---|---|
committer | Shubham Saini <me@ubh.sh> | 2023-10-11 22:57:00 +0000 |
commit | 8930acf046500650a1ae030f21eb3c8289afeaa9 (patch) | |
tree | 1fe1818a5d2994ea5323824d8a47699cfb57bd7f | |
parent | 3b923cdfa8a7332ec50218bb98b5b3d82b2d1dc2 (diff) |
vim: added yaml
-rw-r--r-- | hosts/morpheus/configuration.nix | 2 | ||||
-rw-r--r-- | modules/init.vim | 7 |
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 | ||
5 | augroup plaintext | 5 | augroup 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 |
8 | augroup END | 8 | augroup END |
9 | 9 | ||
10 | augroup webdev | 10 | augroup 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> |
14 | augroup END | 14 | augroup END |
15 | 15 | ||
16 | augroup lisp_stuff | ||
17 | autocmd! | ||
18 | autocmd BufReadPost *.lisp set filetype=scheme | ||
19 | augroup END | ||
20 | |||
21 | augroup yankhl | 16 | augroup 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() |