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. 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 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 {{{ 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 +" }}}