Update text editor
This commit is contained in:
parent
a2c8161d6d
commit
cdf8222aed
|
@ -3,17 +3,13 @@
|
||||||
URL="https://atom.io/download/deb"
|
URL="https://atom.io/download/deb"
|
||||||
TEMP_FILE="/tmp/atom-install.deb"
|
TEMP_FILE="/tmp/atom-install.deb"
|
||||||
|
|
||||||
!(which atom) $$ echo "atom already installed.." &&
|
|
||||||
sudo wget -O "$TEMP_FILE" "$URL" &&
|
sudo wget -O "$TEMP_FILE" "$URL" &&
|
||||||
sudo dpkg -i --skip-same-version "$TEMP_FILE" &&
|
sudo dpkg -i --skip-same-version "$TEMP_FILE" &&
|
||||||
sudo rm "$TEMP_FILE"
|
sudo rm "$TEMP_FILE"
|
||||||
|
|
||||||
PACKAGES=(
|
PACKAGES=(
|
||||||
# Rust language support
|
# Rust language support
|
||||||
"atom-language-rust"
|
"ide-rust"
|
||||||
"rust-doc-viewer"
|
|
||||||
"linter"
|
|
||||||
"linter-rust"
|
|
||||||
# Themes & Syntax themes
|
# Themes & Syntax themes
|
||||||
"github-atom-light-syntax"
|
"github-atom-light-syntax"
|
||||||
"spacegray-light-neue-ui"
|
"spacegray-light-neue-ui"
|
||||||
|
|
|
@ -33,3 +33,5 @@ set convert-meta off
|
||||||
# Filtered history search
|
# Filtered history search
|
||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
|
|
||||||
|
set prefer-visible-bell on
|
||||||
|
|
|
@ -1,5 +1,19 @@
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
||||||
set list listchars=tab:→\ ,trail:·
|
set list listchars=tab:→\ ,trail:· " make whitespace visible
|
||||||
|
|
||||||
|
set mouse=a " automatically enable mouse usage
|
||||||
|
set noerrorbells visualbell t_vb= " no annoying sound on errors
|
||||||
|
set shortmess+=OI
|
||||||
|
set nu " set line numbers on
|
||||||
|
set completeopt+=noinsert,noselect
|
||||||
|
set completeopt-=preview " disable autocomplete preview
|
||||||
|
set wildmenu " show list instead of just completing
|
||||||
|
set autoindent " Indent at the same level of the previous line
|
||||||
|
set shiftwidth=4 " Use indents of 4 spaces
|
||||||
|
set expandtab " Tabs are spaces, not tabs
|
||||||
|
set tabstop=4 " An indentation every four columns
|
||||||
|
set softtabstop=4 " Let backspace delete indent
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue