From c2b6345244c8a3fe728c1f8c5a2ce24b493b8875 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 13:48:41 +0200 Subject: [PATCH 1/4] [nvim] Exchanged coc-explorer for NERDTree --- nvim/dotfiles/plugins-list.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index 1f9250b..3d1f3a7 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -1,7 +1,7 @@ let s:ctx = g:dotfiles_plugins_list_context " Files {{{ - call s:ctx.use('weirongxu/coc-explorer') + call s:ctx.use('preservim/nerdtree') " }}} " Language specific {{{ From 6059acd2a8a027f2c3c0bb755a90440b46764524 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 13:50:51 +0200 Subject: [PATCH 2/4] [nvim] Added NERDTree keybind --- nvim/init.vim | 8 -------- nvim/plugin/keybinds.vim | 11 +++++++++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 68c72a2..c97a056 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -12,11 +12,3 @@ source :p:h/../dmitmel-dotfiles/nvim/init.vim " Give me that beautiful colorscheme set termguicolors let airline_powerline_fonts = 1 - -" Copy to clipboard register and paste from clipboard register {{{ - " Taken from https://unix.stackexchange.com/a/23437 - nnoremap "+y - vnoremap "+y - nnoremap "+gP - vnoremap "+gP -" }}} diff --git a/nvim/plugin/keybinds.vim b/nvim/plugin/keybinds.vim index b3ac4c2..d970038 100644 --- a/nvim/plugin/keybinds.vim +++ b/nvim/plugin/keybinds.vim @@ -1,2 +1,9 @@ -" Add keybind for coc-explorer -nmap m :CocCommand explorer +nnoremap :NERDTreeToggle + +" Copy to clipboard register and paste from clipboard register {{{ + " Taken from https://unix.stackexchange.com/a/23437 + nnoremap "+y + vnoremap "+y + nnoremap "+gP + vnoremap "+gP +" }}} From e7f79170fab9b8c3c9b1b5710dce0d77a0018cd7 Mon Sep 17 00:00:00 2001 From: Keanu Date: Sun, 4 Jul 2021 14:12:10 +0200 Subject: [PATCH 3/4] [meta] Add README and LICENSE. --- LICENSE | 21 +++++++++++++++++++++ README.md | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b76ad1c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Keanu Timmermans + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a655090 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# dotfiles + +My [dotfiles](https://wiki.archlinux.org/title/Dotfiles) for Kitty, ZSH, other programs, and additionally some scripts. + +These dotfiles are written on Arch Linux, so there is 0 guarantee they work on other systems. +Although, since I'm using [dmitmel's dotfiles](https://github.com/dmitmel/dotfiles) in a submodule, I'm trusting they work on the following platforms: + +- Arch Linux, +- Linux Mint, +- server Ubuntu, +- macOS with GNU coreutils (i.e. BSDs are not supported), +- Android with Termux. + +If you are uncertain about what any of these things do, I recommend you: + +- Do not use them. +- Read the source code, and, additionally, + - Read the source code of dmitmel's dotfiles. From 355cb4a8ab67ee74b692d2ad73620e75125f65e8 Mon Sep 17 00:00:00 2001 From: Keanu Date: Sun, 4 Jul 2021 14:14:39 +0200 Subject: [PATCH 4/4] [codespaces] Add install script. --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..12a43b0 --- /dev/null +++ b/install.sh @@ -0,0 +1,8 @@ +sudo hostname KeanuCodespaces +rm -rf ~/.oh-my-zsh +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended +git clone --recurse-submodules https://github.com/keanuplayz/dotfiles ~/.dotfiles +echo "source ~/.dotfiles/zsh/zshrc" >> ~/.zshrc +pip install colorama psutil distro +echo "zsh" >> ~/.bashrc +source ~/.bashrc