Coder Social home page Coder Social logo

home's Introduction

VIM and Bash setup

cd home
cp .vimrc .bashrc ~

Neovim Setup

manual (recommended)

# neovim dependencies
sudo apt-get install ninja-build gettext cmake unzip curl
git clone https://github.com/neovim/neovim.git
cd neovim
git checkout v0.9.5  # or any newer version
sudo make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

snap

sudo snap install --beta nvim --classic 

apt-get

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update
sudo apt upgrade
sudo apt-get install neovim
pip[3] install pynvim
sudo apt-get install xsel
cp -r nvim ~/.config/nvim

install vim-plug:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

download telescope (fast text search) dependencies:

sudo apt-get install ripgrep
sudo apt-get install fd-find

open a neovim session and run :PlugInstall within it

nvim ~/.config/nvim/init.vim
:PlugInstall

Run :checkhealth telescope for example to verify everything is OK

Install node

# For Ubuntu 20.04 (Focal)
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -

sudo apt-get update
sudo apt-get install nodejs

Copilot:

sudo apt install npm
npm install n -g # sudo possibly required
unalias n
n stable # sudo possibly required
alias n='nvim'

run

n ~/.vimrc
:Copilot setup

If copilot cannot open browser, go directly to: http://github.com/login/device

AUTOJUMP

for debian based systems (ubuntu):

sudo apt-get install autojump
echo "source /usr/share/autojump/autojump.sh" >> ~/.bashrc 
source ~/.bashrc

Disclaimer: vim, neovim and bash settings for Ubuntu (tested on 20.04/focal and 22.04/jammy)

home's People

Contributors

slagernate avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

erginaycambaz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.