Add neovim as default editor
This commit is contained in:
parent
7428adae07
commit
6c3bf92596
2
.bashrc
2
.bashrc
|
@ -20,7 +20,7 @@ alias ls='exa -al'
|
|||
alias mutt='neomutt'
|
||||
alias m='neomutt'
|
||||
alias shutdown='sudo shutdown -h now'
|
||||
alias v='vim'
|
||||
alias v='nvim'
|
||||
alias r='ranger'
|
||||
alias t='sudo timeshift --list'
|
||||
alias ts='~/dotfiles/scripts/snapshot.sh'
|
||||
|
|
|
@ -12,7 +12,7 @@ echo "START INSTALLATION..."
|
|||
# Install required packages
|
||||
# ------------------------------------------------------
|
||||
echo "-> Install main packages"
|
||||
sudo pacman -S alacritty scrot nitrogen picom starship chromium slock neomutt rofi dunst ueberzug mpv freerdp spotifyd xfce4-power-manager python-pip thunar mousepad lxappearance papirus-icon-theme ttf-font-awesome ttf-fira-sans ttf-fira-code ttf-firacode-nerd figlet cmatrix qalculate-gtk adapta-gtk-theme terminator
|
||||
sudo pacman -S alacritty scrot nitrogen picom starship chromium slock neomutt neovim rofi dunst ueberzug mpv freerdp spotifyd xfce4-power-manager python-pip thunar mousepad lxappearance papirus-icon-theme ttf-font-awesome ttf-fira-sans ttf-fira-code ttf-firacode-nerd figlet cmatrix qalculate-gtk adapta-gtk-theme terminator
|
||||
|
||||
# ------------------------------------------------------
|
||||
# Install required packages
|
||||
|
@ -39,6 +39,7 @@ ln -s ~/dotfiles/ranger/ ~/.config
|
|||
ln -s ~/dotfiles/rofi/ ~/.config
|
||||
ln -s ~/dotfiles/spotifyd/ ~/.config
|
||||
ln -s ~/dotfiles/vim/ ~/.config
|
||||
ln -s ~/dotfiles/nvim/ ~/.config
|
||||
ln -s ~/dotfiles/starship/starship.toml ~/.config/starship.toml
|
||||
rm ~/.bashrc
|
||||
ln -s ~/dotfiles/.bashrc ~/.bashrc
|
||||
|
|
24
nvim/init.vim
Normal file
24
nvim/init.vim
Normal file
|
@ -0,0 +1,24 @@
|
|||
set nocompatible " disable compatibility to old-time vi
|
||||
set showmatch " show matching
|
||||
set ignorecase " case insensitive
|
||||
set mouse=v " middle-click paste with
|
||||
set hlsearch " highlight search
|
||||
set incsearch " incremental search
|
||||
set tabstop=4 " number of columns occupied by a tab
|
||||
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
|
||||
set expandtab " converts tabs to white space
|
||||
set shiftwidth=4 " width for autoindents
|
||||
set autoindent " indent a new line the same amount as the line just typed
|
||||
set number " add line numbers
|
||||
set wildmode=longest,list " get bash-like tab completions
|
||||
" set cc=80 " set an 80 column border for good coding style
|
||||
filetype plugin indent on "allow auto-indenting depending on file type
|
||||
syntax on " syntax highlighting
|
||||
set mouse=a " enable mouse click
|
||||
set clipboard=unnamedplus " using system clipboard
|
||||
filetype plugin on
|
||||
" set cursorline " highlight current cursorline
|
||||
set ttyfast " Speed up scrolling in Vim
|
||||
" set spell " enable spell check (may need to download language package)
|
||||
" set noswapfile " disable creating swap file
|
||||
" set backupdir=~/.cache/vim " Directory to store backup files.
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user