Compare commits

...

4 commits

Author SHA1 Message Date
355cb4a8ab
[codespaces] Add install script. 2021-07-04 14:14:39 +02:00
e7f79170fa
[meta] Add README and LICENSE. 2021-07-04 14:12:54 +02:00
Alyxia Sother
6059acd2a8
[nvim] Added NERDTree keybind 2021-07-04 13:50:51 +02:00
Alyxia Sother
c2b6345244
[nvim] Exchanged coc-explorer for NERDTree 2021-07-04 13:48:41 +02:00
6 changed files with 57 additions and 11 deletions

21
LICENSE Normal file
View file

@ -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.

18
README.md Normal file
View file

@ -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.

8
install.sh Normal file
View file

@ -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

View file

@ -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 {{{

View file

@ -12,11 +12,3 @@ source <sfile>: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 <C-y> "+y
vnoremap <C-y> "+y
nnoremap <C-p> "+gP
vnoremap <C-p> "+gP
" }}}

View file

@ -1,2 +1,9 @@
" Add keybind for coc-explorer
nmap <space>m :CocCommand explorer<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
" Copy to clipboard register and paste from clipboard register {{{
" Taken from https://unix.stackexchange.com/a/23437
nnoremap <C-y> "+y
vnoremap <C-y> "+y
nnoremap <C-p> "+gP
vnoremap <C-p> "+gP
" }}}