From 294e3c9899d3af972280f23f3500550c26ccbb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 9 Apr 2021 07:25:29 +0200 Subject: [PATCH 1/2] Add new blogs to newsboat --- symlinks/config/newsboat/urls | 3 +++ symlinks/config/nvim/plugin/statusline.vim | 2 ++ symlinks/vim/plugin/statusline.vim | 2 ++ 3 files changed, 7 insertions(+) diff --git a/symlinks/config/newsboat/urls b/symlinks/config/newsboat/urls index e6ccce6..6b6ac54 100644 --- a/symlinks/config/newsboat/urls +++ b/symlinks/config/newsboat/urls @@ -37,3 +37,6 @@ https://martinfowler.com/feed.atom blog development "~Martin Fowler Blog" https://feeds.feedburner.com/GDBcode blog development google "~Google Developers Blog" https://feeds.feedburner.com/blogspot/hsDu blog development google android "~Google Android Developers Blog" https://www.smashingmagazine.com/feed blog development web "~Smashing Magazine Web Dev Blog" +https://devblogs.microsoft.com/dotnet/feed/ blog development dotnet "~DotNet Blog" +https://dragan.rocks/feed.xml blog development clojure "~Dragan Djuric Blog" +http://planet.clojure.in/atom.xml blog development clojure "~Planet Clojure" diff --git a/symlinks/config/nvim/plugin/statusline.vim b/symlinks/config/nvim/plugin/statusline.vim index 325235d..13e5f49 100644 --- a/symlinks/config/nvim/plugin/statusline.vim +++ b/symlinks/config/nvim/plugin/statusline.vim @@ -74,6 +74,8 @@ function s:GetFileType() return "%2*%*" elseif &filetype ==# "c" return "%4*%*" + elseif &filetype ==# "cs" + return "%4*%*" elseif &filetype ==# "python" return "%3*%*" elseif &filetype ==# "javascript" diff --git a/symlinks/vim/plugin/statusline.vim b/symlinks/vim/plugin/statusline.vim index 699d0b0..9a09975 100644 --- a/symlinks/vim/plugin/statusline.vim +++ b/symlinks/vim/plugin/statusline.vim @@ -61,6 +61,8 @@ function s:GetFileType() return "%2*%*" elseif &filetype ==# "c" return "%4*%*" + elseif &filetype ==# "cs" + return "%4*%*" elseif &filetype ==# "python" return "%3*%*" elseif &filetype ==# "javascript" From e0b00e1e9786110108cf33937d4459d2cb400a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 9 Apr 2021 08:11:13 +0200 Subject: [PATCH 2/2] Add alacritty keymap to resolve option key issues --- symlinks/config/alacritty/alacritty.yml | 1 + symlinks/config/alacritty/keymap.yml | 76 +++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 symlinks/config/alacritty/keymap.yml diff --git a/symlinks/config/alacritty/alacritty.yml b/symlinks/config/alacritty/alacritty.yml index ad72c17..fc7d64d 100644 --- a/symlinks/config/alacritty/alacritty.yml +++ b/symlinks/config/alacritty/alacritty.yml @@ -3,3 +3,4 @@ alt_send_esc: true import: - ~/.config/alacritty/font.yml - ~/.config/alacritty/colors.yml + - ~/.config/alacritty/keymap.yml diff --git a/symlinks/config/alacritty/keymap.yml b/symlinks/config/alacritty/keymap.yml new file mode 100644 index 0000000..a7f61fe --- /dev/null +++ b/symlinks/config/alacritty/keymap.yml @@ -0,0 +1,76 @@ +key_bindings: + - { key: A, mods: Alt, chars: "\x1ba" } + - { key: B, mods: Alt, chars: "\x1bb" } + - { key: C, mods: Alt, chars: "\x1bc" } + - { key: D, mods: Alt, chars: "\x1bd" } + - { key: E, mods: Alt, chars: "\x1be" } + - { key: F, mods: Alt, chars: "\x1bf" } + - { key: G, mods: Alt, chars: "\x1bg" } + - { key: H, mods: Alt, chars: "\x1bh" } + - { key: I, mods: Alt, chars: "\x1bi" } + - { key: J, mods: Alt, chars: "\x1bj" } + - { key: K, mods: Alt, chars: "\x1bk" } + - { key: L, mods: Alt, chars: "\x1bl" } + - { key: M, mods: Alt, chars: "\x1bm" } + - { key: N, mods: Alt, chars: "\x1bn" } + - { key: O, mods: Alt, chars: "\x1bo" } + - { key: P, mods: Alt, chars: "\x1bp" } + - { key: Q, mods: Alt, chars: "\x1bq" } + - { key: R, mods: Alt, chars: "\x1br" } + - { key: S, mods: Alt, chars: "\x1bs" } + - { key: T, mods: Alt, chars: "\x1bt" } + - { key: U, mods: Alt, chars: "\x1bu" } + - { key: V, mods: Alt, chars: "\x1bv" } + - { key: W, mods: Alt, chars: "\x1bw" } + - { key: X, mods: Alt, chars: "\x1bx" } + - { key: Y, mods: Alt, chars: "\x1by" } + - { key: Z, mods: Alt, chars: "\x1bz" } + - { key: A, mods: Alt|Shift, chars: "\x1bA" } + - { key: B, mods: Alt|Shift, chars: "\x1bB" } + - { key: C, mods: Alt|Shift, chars: "\x1bC" } + - { key: D, mods: Alt|Shift, chars: "\x1bD" } + - { key: E, mods: Alt|Shift, chars: "\x1bE" } + - { key: F, mods: Alt|Shift, chars: "\x1bF" } + - { key: G, mods: Alt|Shift, chars: "\x1bG" } + - { key: H, mods: Alt|Shift, chars: "\x1bH" } + - { key: I, mods: Alt|Shift, chars: "\x1bI" } + - { key: J, mods: Alt|Shift, chars: "\x1bJ" } + - { key: K, mods: Alt|Shift, chars: "\x1bK" } + - { key: L, mods: Alt|Shift, chars: "\x1bL" } + - { key: M, mods: Alt|Shift, chars: "\x1bM" } + - { key: N, mods: Alt|Shift, chars: "\x1bN" } + - { key: O, mods: Alt|Shift, chars: "\x1bO" } + - { key: P, mods: Alt|Shift, chars: "\x1bP" } + - { key: Q, mods: Alt|Shift, chars: "\x1bQ" } + - { key: R, mods: Alt|Shift, chars: "\x1bR" } + - { key: S, mods: Alt|Shift, chars: "\x1bS" } + - { key: T, mods: Alt|Shift, chars: "\x1bT" } + - { key: U, mods: Alt|Shift, chars: "\x1bU" } + - { key: V, mods: Alt|Shift, chars: "\x1bV" } + - { key: W, mods: Alt|Shift, chars: "\x1bW" } + - { key: X, mods: Alt|Shift, chars: "\x1bX" } + - { key: Y, mods: Alt|Shift, chars: "\x1bY" } + - { key: Z, mods: Alt|Shift, chars: "\x1bZ" } + - { key: Key1, mods: Alt, chars: "\x1b1" } + - { key: Key2, mods: Alt, chars: "\x1b2" } + - { key: Key3, mods: Alt, chars: "\x1b3" } + - { key: Key4, mods: Alt, chars: "\x1b4" } + - { key: Key5, mods: Alt, chars: "\x1b5" } + - { key: Key6, mods: Alt, chars: "\x1b6" } + - { key: Key7, mods: Alt, chars: "\x1b7" } + - { key: Key8, mods: Alt, chars: "\x1b8" } + - { key: Key9, mods: Alt, chars: "\x1b9" } + - { key: Key0, mods: Alt, chars: "\x1b0" } + - { key: Space, mods: Control, chars: "\x00" } # Ctrl + Space + - { key: Grave, mods: Alt, chars: "\x1b`" } # Alt + ` + - { key: Grave, mods: Alt|Shift, chars: "\x1b~" } # Alt + ~ + - { key: Period, mods: Alt, chars: "\x1b." } # Alt + . + - { key: Key8, mods: Alt|Shift, chars: "\x1b*" } # Alt + * + - { key: Key3, mods: Alt|Shift, chars: "\x1b#" } # Alt + # + - { key: Period, mods: Alt|Shift, chars: "\x1b>" } # Alt + > + - { key: Comma, mods: Alt|Shift, chars: "\x1b<" } # Alt + < + - { key: Minus, mods: Alt|Shift, chars: "\x1b_" } # Alt + _ + - { key: Key5, mods: Alt|Shift, chars: "\x1b%" } # Alt + % + - { key: Key6, mods: Alt|Shift, chars: "\x1b^" } # Alt + ^ + - { key: Backslash, mods: Alt, chars: "\x1b\\" } # Alt + \ + - { key: Backslash, mods: Alt|Shift, chars: "\x1b|" } # Alt + |