• This repository has been archived on 10/Jun/2022
  • Stars
    star
    657
  • Rank 68,589 (Top 2 %)
  • Language
    Vim Script
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An accompanying vim configuration and tmux.conf for my vim + tmux video

Vim workshop

Warning: Outdated Repository

This workshop is a bit dated, and as such, the instructions might not work as expected. For a modern look at a vim installation, check out my dotfiles.

This repo contains the slides for my vim talk. Additionally, I have provided a starter vimrc and tmux.conf. These may be a good starting point for someone getting into vim and tmux.

Check out the presentation PDF.

Vim setup instructions

  1. Download vim

    Likely, vim is already installed on you machine. If you're on a mac, you can get the latest vim from Homebrew.

    brew install macvim --override-system-vim
  2. Create a vimrc

    Create a vim configuration file in your home directory and a .vim/bundle directory

    cp vimrc ~/.vimrc
    mkdir -p ~/.vim/bundle
  3. Add vundle

    If you'd like to use vundle to manage plugins, you can install it as a git submodule

    git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/vundle

    You will also need to let vim know about vundle by adding it to your ~/.vimrc.

    set rtp+=~/.vim/bundle/vundle/
    call vundle#begin()
    
    " let vundle manage vundle
    Plugin 'gmarik/vundle'
    
    " list all plugins that you'd like to install here
    Plugin 'kien/ctrlp.vim' " fuzzy find files
    Plugin 'scrooloose/nerdtree' " file drawer, open with :NERDTreeToggle
    Plugin 'benmills/vimux'
    Plugin 'tpope/vim-fugitive' " the ultimate git helper
    Plugin 'tpope/vim-commentary' " comment/uncomment lines with gcc or gc in visual mode
    
    call vundle#end()
    filetype plugin indent on
  4. Start vim and install default plugins

    vim +PluginInstall
  5. Install tmux

    tmux can be installed from Homebrew on OSX

    brew install tmux
  6. Add a tmux config

    cp tmux.conf ~/.tmux.conf
  7. Connect to a new tmux session

    tmux new-session -s pasta

Got questions? I'm always excited to talk about vim + tmux!

Trouble Shooting

  1. If your tmux session is closed immediatly and you see the [exited] message in the terminal you are probably missing the reattach-to-user-namespace package to install it simply do

    brew install reattach-to-user-namespace

More Repositories

1

dotfiles

vim, zsh, git, homebrew, neovim - my whole world
Lua
2,736
star
2

obsidain-jira

An Obsidian plugin to auto-populate data from Jira into a new Obsidian note
TypeScript
11
star
3

advanced-git

10
star
4

leapcopter

A Nodecopter controlled by a Leap Motion example
JavaScript
9
star
5

quiz-show

TypeScript
7
star
6

console-reclaimer

A Chrome extension to prevent sites like Netflix from disabling the Chrome Developer Console. Idea and code from http://pastebin.com/Lx5gjXsA
JavaScript
7
star
7

xstate-meme

TypeScript
6
star
8

debut

HTML5 Slides written in Backbone
JavaScript
6
star
9

pi-photobooth

Control a camera photobooth from a Raspberry PI
Shell
6
star
10

git-workshop

A sample repo and README for the OMG! Code Git Workshop Redux
5
star
11

nebraskajs-tweets

A Node.js Example app
JavaScript
4
star
12

neovim-talk

Neovim Talk at Omaha Ruby and Open Source Meetup
3
star
13

safeomaha

SafeOmaha - Created at Hack Omaha 2012
JavaScript
3
star
14

groovy-demo

a quick intro to Groovy for getting started on Grails projects.
Groovy
3
star
15

chrome-goodman

A chrome extension example application
JavaScript
3
star
16

node-talk

My NebraskaJS Talk on RESTful Services in Node.js
JavaScript
3
star
17

omahajs

Omaha JavaScript Web Site
Ruby
3
star
18

html5-pres

My HTML5 Presentation for the Nebraska Cold Fusion User Group
JavaScript
2
star
19

coderdojo-javascript

Backup slides for CoderDojo JavaScript
CSS
2
star
20

howconf-game-talk

JavaScript
2
star
21

intern-test-deps-map

JavaScript
2
star
22

backbone-talk

The code from my talk at BarCampOmaha 2011
JavaScript
2
star
23

safeomaha-data

2
star
24

nicknisi.com

MDX
2
star
25

intern-example

JavaScript
2
star
26

ir-whack

A custom vim theme based on ir_black
Vim Script
1
star
27

ts-compiler-api-talk

TypeScript
1
star
28

dojo-play

JavaScript
1
star
29

js-fundamentals

HTML
1
star
30

dgrid-build

JavaScript
1
star
31

grunt-bower-config

A Grunt task for installing dependencies from bower and removing the extra repo cruft
JavaScript
1
star
32

nicknisi

1
star
33

jsconf2015-nodebots

JavaScript
1
star
34

backbone-example

A sample backbone/RequireJS app to talk about our setup
JavaScript
1
star
35

jsconf-nodecopter

Our Nodecopter Code from JSConf 2013
JavaScript
1
star
36

nicknisi.github.com

My github pages repo
1
star
37

dijit-widget-example

JavaScript
1
star
38

js-intro

An Intro to the JavaScript language, taught at Do Space
HTML
1
star
39

standard

TypeScript
1
star
40

meek

a gentle JavaScript Animation Loop
JavaScript
1
star