Coder Social home page Coder Social logo

.vim's Introduction

.vim

My vim dot files. the .vimrc file is saved to vimrc.

About

Installing

Just run the following commands via terminal to get perfectly set up:

$ cd ~/
$ git clone --recursive https://github.com/jessfraz/.vim.git .vim
$ ln -sf $HOME/.vim/vimrc $HOME/.vimrc
$ cd $HOME/.vim
$ git submodule update --init

# To use the same configuration for nvim (neovim)
$ mkdir -p ~/.config/nvim
$ ln -snf ~/.vimrc ~/.config/nvim/init.vim
$ mkdir -p ~/.local/share/nvim
$ ln -snf ~/.vim ~/.local/share/nvim/site

You will also want a Nerd Font.

Pathogen

The vim dot files make use of the excellent Pathogen runtime path manager to install plugins and runtime files into their own private directiories.

Currently using version 2.4 of Pathogen

Contributing

Using the Makefile

You can use the Makefile to run a series of commands.

$ make help
install                        Sets up symlink for user and root .vimrc for vim and neovim.
README.md                      Generates and updates plugin info in README.md.
remove-submodule               Removes a git submodule (ex MODULE=bundle/nginx.vim).
update-pathogen                Updates pathogen.
update-plugins                 Updates all plugins.
update                         Updates pathogen and all plugins.

Shortcuts

  • Ctrl-P: Find files
  • Ctrl-G: Live grep
  • Ctrl-B: Search git branches
  • Ctrl-A: Toggle the file sidebar
  • Ctrl-R: Refresh the file sidebar
  • Ctrl-N: Multiple cursor support
  • Ctrl-X: Switch to the next buffer
  • Ctrl-Z: Switch to the previous buffer
  • Ctrl-T: Open a floating terminal
  • <Space>: Center the screen to the cursor

There's a lot more if you hit ,? you can peruse all the ones connected to the leader ,

Plugins Used

.vim's People

Contributors

jessfraz avatar k4rtik avatar klmr avatar ls42 avatar m4ns0ur avatar petersellars avatar raphink avatar thobianchi avatar toc-me[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

.vim's Issues

Plugin recommendation

Hey, I just stumbled upon this repo and it's a great model for an awesome vim setup! I was hoping to suggest a plugin I also just found recently: https://github.com/luochen1990/rainbow

The plugin shows different levels of parentheses in different colors and makes it very easy to see nesting and debug missing parentheses.

Thanks for your time!

DiffOrig is genius

Just came here to tell you that I love your DiffOrig command. It's really handy for me since I've switched to persistent undo in my .vimrc so I can't just uuuuuu to remember what I changed since I started editing.
Thank you!

I featured your snippet here: http://vimrcfu.com/snippet/214

PS: I also snatched nerdy from your Dockerfiles ๐Ÿ˜

vim-indent-lines direct fetching fails

First of all, thanks for this repository.
The recursive git clone currently fails with the following:

error: no such remote ref 273ad7b93fb2e1cf516d6d54eb0feb8c92a9c2af Fetched in submodule path 'bundle/vim-indent-lines', but it did not contain 273ad7b93fb2e1cf516d6d54eb0feb8c92a9c2af. Direct fetching of that commit failed.

Is is possible that this submodule wasn't published prior to the super module?

TComment not installed by default

In line 270 of .vimrc, there's a command that requires tcomment_vim, which doesn't seem to be referenced as a submodule in /bundle. Should it be added?

(The comment above on 269 is also a little confusing--doesn''t 270 just provide a proxy to tcomment's gcc?)

Thanks a bunch for this config! Just switched to it and am loving ๐Ÿฅ‡

Use https variants of github URLs

I came here from mac-dev-setup repo (while setting up a new Mac workstation), correcting the URL for this repo while cloning, but the git submodules fail with the same "Permission denied" error. Using github https variants of repo URLs avoids the errors. Here's a log:

$ git clone --recursive [email protected]:jfrazelle/.vim.git ~/.vim
Cloning into '/Users/kartik/.vim'...
The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

kartik at CCV-Mac-Pro in ~
$ git clone --recursive https://github.com/jfrazelle/.vim.git ~/.vim
Cloning into '/Users/kartik/.vim'...
remote: Counting objects: 1233, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1233 (delta 0), reused 0 (delta 0), pack-reused 1230
Receiving objects: 100% (1233/1233), 891.32 KiB | 0 bytes/s, done.
Resolving deltas: 100% (534/534), done.
Checking connectivity... done.
Submodule 'bundle/ack' ([email protected]:mileszs/ack.vim.git) registered for path 'bundle/ack'
Submodule 'bundle/delimitMate.vim' ([email protected]:vim-scripts/delimitMate.vim.git) registered for path 'bundle/delimitMate.vim'
Submodule 'bundle/minibufexpl.vim' ([email protected]:fholgado/minibufexpl.vim.git) registered for path 'bundle/minibufexpl.vim'
Submodule 'bundle/nerdtree' ([email protected]:scrooloose/nerdtree.git) registered for path 'bundle/nerdtree'
Submodule 'bundle/syntastic' ([email protected]:scrooloose/syntastic.git) registered for path 'bundle/syntastic'
Submodule 'bundle/tabular' ([email protected]:godlygeek/tabular.git) registered for path 'bundle/tabular'
Submodule 'bundle/vim-airline' ([email protected]:bling/vim-airline.git) registered for path 'bundle/vim-airline'
Submodule 'bundle/vim-better-whitespace' ([email protected]:ntpeters/vim-better-whitespace.git) registered for path 'bundle/vim-better-whitespace'
Submodule 'bundle/vim-cfmt' (https://github.com/crosbymichael/vim-cfmt) registered for path 'bundle/vim-cfmt'
Submodule 'bundle/vim-colors-solarized' ([email protected]:altercation/vim-colors-solarized.git) registered for path 'bundle/vim-colors-solarized'
Submodule 'bundle/vim-endwise' ([email protected]:tpope/vim-endwise.git) registered for path 'bundle/vim-endwise'
Submodule 'bundle/vim-fugitive' ([email protected]:tpope/vim-fugitive.git) registered for path 'bundle/vim-fugitive'
Submodule 'bundle/vim-gitgutter' ([email protected]:airblade/vim-gitgutter.git) registered for path 'bundle/vim-gitgutter'
Submodule 'bundle/vim-go' ([email protected]:fatih/vim-go.git) registered for path 'bundle/vim-go'
Submodule 'bundle/vim-indent-lines' ([email protected]:Yggdroot/indentLine.git) registered for path 'bundle/vim-indent-lines'
Submodule 'bundle/vim-json' ([email protected]:leshill/vim-json.git) registered for path 'bundle/vim-json'
Submodule 'bundle/vim-systemd' (git://fedorapeople.org/home/fedora/wwoods/public_git/vim-scripts.git) registered for path 'bundle/vim-systemd'
Submodule 'bundle/vim-toml' ([email protected]:cespare/vim-toml.git) registered for path 'bundle/vim-toml'
Cloning into 'bundle/ack'...
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:mileszs/ack.vim.git' into submodule path 'bundle/ack' failed

Key to :set paste

Here I see that some shortcut is created to send :set paste.
I can't find out what is it, maybe my keymap is a bit different with yours so I'm in the dark.
By the way this repo is very cool, thanks!!!!!

Auto suggestion not working

I followed the instruction and update ~/.vimrc file but when I start coding python or C++, Vim does not suggest to autocomplete keyword like numpy, matplotlib or any other package installed. How can I fix it?

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.