aboutsummaryrefslogtreecommitdiff
path: root/_posts
diff options
context:
space:
mode:
Diffstat (limited to '_posts')
-rw-r--r--_posts/2023-11-05-elitist-attitudes-are-sapping-the-fun-from-programming.md6
-rw-r--r--_posts/2023-11-07-personal-sane-vim-defaults.md10
2 files changed, 9 insertions, 7 deletions
diff --git a/_posts/2023-11-05-elitist-attitudes-are-sapping-the-fun-from-programming.md b/_posts/2023-11-05-elitist-attitudes-are-sapping-the-fun-from-programming.md
index 4515466..ccee72b 100644
--- a/_posts/2023-11-05-elitist-attitudes-are-sapping-the-fun-from-programming.md
+++ b/_posts/2023-11-05-elitist-attitudes-are-sapping-the-fun-from-programming.md
@@ -62,7 +62,7 @@ to see if you are using what is considered the “cool” thing. If you are doin
62this, you already failed in my opinion. 62this, you already failed in my opinion.
63 63
64Oh, you are not using this “insert here” algorithm? Such a pleb. Don't you know 64Oh, you are not using this “insert here” algorithm? Such a pleb. Don't you know
65about O(2) complexity? OMG, such a noob. He doesn't know. Uneducated pleb. 2017 65about O(N) complexity? OMG, such a noob. He doesn't know. Uneducated pleb. 2017
66called, and they want their stack back. 66called, and they want their stack back.
67 67
68Yes, there is a place for all of those things. But not everything needs to be 68Yes, there is a place for all of those things. But not everything needs to be
@@ -87,11 +87,11 @@ Code or Vim or Emacs or even Notepad if you wish. If you are having fun, then
87just do it. Don't worry about these elitist pricks. They will never be satisfied 87just do it. Don't worry about these elitist pricks. They will never be satisfied
88anyway. You will never get their approval. So why even bother. Just go for 88anyway. You will never get their approval. So why even bother. Just go for
89it. Use C, Rust, OCaml, whatever floats your boat. If it tickles you, just do 89it. Use C, Rust, OCaml, whatever floats your boat. If it tickles you, just do
90it. To hell with everybody else. And if somebody says O(n) complexity, dude? You 90it. To hell with everybody else. And if somebody says O(N) complexity, dude? You
91can say, OOOOO, fuck the fuck off. 91can say, OOOOO, fuck the fuck off.
92 92
93If this post triggered you, then you are the asshole. Probably. Then you 93If this post triggered you, then you are the asshole. Probably. Then you
94probably are that guy preaching about O(n) or this language is soo slow 94probably are that guy preaching about O(N) or this language is soo slow
95haha. Stop it. Nobody cares! Touch grass. 95haha. Stop it. Nobody cares! Touch grass.
96 96
97Anyway, back to having fun. Cheers! 97Anyway, back to having fun. Cheers!
diff --git a/_posts/2023-11-07-personal-sane-vim-defaults.md b/_posts/2023-11-07-personal-sane-vim-defaults.md
index e8a5551..77ed024 100644
--- a/_posts/2023-11-07-personal-sane-vim-defaults.md
+++ b/_posts/2023-11-07-personal-sane-vim-defaults.md
@@ -14,6 +14,7 @@ personal list. This is how my `.vimrc` file looks like.
14" General sane defaults. 14" General sane defaults.
15syntax enable 15syntax enable
16colorscheme sorbet 16colorscheme sorbet
17nnoremap q: <nop>
17set nocompatible 18set nocompatible
18set relativenumber 19set relativenumber
19set nohlsearch 20set nohlsearch
@@ -28,12 +29,8 @@ set autoread
28set wildmenu 29set wildmenu
29set encoding=utf8 30set encoding=utf8
30set backspace=2 31set backspace=2
31set tabstop=2
32set shiftwidth=2
33set expandtab
34set scrolloff=4 32set scrolloff=4
35set spelllang=en_us 33set spelllang=en_us
36nnoremap q: <nop>
37 34
38" Status Line enhancements. 35" Status Line enhancements.
39set laststatus=2 36set laststatus=2
@@ -52,6 +49,11 @@ augroup commenting_blocks_of_code
52augroup END 49augroup END
53noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR> 50noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
54noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR> 51noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
52
53" Language specific intentation.
54filetype plugin indent on
55autocmd Filetype make,go,c,cpp setlocal noexpandtab tabstop=4 shiftwidth=4
56autocmd Filetype html,js,css setlocal expandtab tabstop=2 shiftwidth=2
55``` 57```
56 58
57I keep it pretty vanilla so this is about everything I have in the file. 59I keep it pretty vanilla so this is about everything I have in the file.