RailsEditor 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/rails/.vimrc +35 -4
- metadata +3 -3
data/rails/.vimrc
CHANGED
@@ -1,9 +1,40 @@
|
|
1
|
-
try
|
1
|
+
try " read in your vimrc first
|
2
2
|
source $REAL_HOME/.vimrc
|
3
3
|
catch /E484/
|
4
4
|
endtry
|
5
|
+
|
6
|
+
if has("autocmd")
|
7
|
+
" Enabled file type detection
|
8
|
+
" Use the default filetype settings from plugins
|
9
|
+
" do language-dependent indenting as well.
|
10
|
+
filetype plugin on
|
11
|
+
filetype indent on
|
12
|
+
endif " has ("autocmd")
|
13
|
+
|
14
|
+
" This section returns to the last place you were in a file
|
15
|
+
" When you repoen it. Comment out to disable this behavior
|
16
|
+
if has("autocmd")
|
17
|
+
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
|
18
|
+
\| execute "normal g'\"" | endif
|
19
|
+
endif
|
20
|
+
|
5
21
|
syntax on
|
6
|
-
set
|
7
|
-
set
|
8
|
-
set
|
22
|
+
set backspace=indent,eol,start " more powerful backspacing
|
23
|
+
set tabstop=2 " Set the default tabstop
|
24
|
+
set shiftwidth=2 " Set the default shift width for indents
|
25
|
+
set expandtab " Make tabs into spaces (set by tabstop)
|
9
26
|
set smartcase " Do case insensitive matching
|
27
|
+
set smarttab " Smarter tab levels
|
28
|
+
set ruler " Show ruler
|
29
|
+
set textwidth=0 " Don't wrap lines by default
|
30
|
+
set pastetoggle=<F6> " F6 will toggle between paste and normal
|
31
|
+
" Insert mode
|
32
|
+
set history=50 " keep 50 lines of command line history
|
33
|
+
|
34
|
+
" Extra For Rails
|
35
|
+
let g:rubycomplete_rails = 1
|
36
|
+
|
37
|
+
" set background=dark " If you have a dark background, uncomment this
|
38
|
+
|
39
|
+
" For our local plugins and files
|
40
|
+
set runtimepath+=~/.vim
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: RailsEditor
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2006-08-
|
6
|
+
version: 0.0.26
|
7
|
+
date: 2006-08-22 00:00:00 -05:00
|
8
8
|
summary: A screen + vim IDE setup for editing a Rails tree
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -37,8 +37,8 @@ files:
|
|
37
37
|
- tests/ts_rails_editor.rb
|
38
38
|
- lib/rails-editor.rb
|
39
39
|
- rails/.vim/syntax
|
40
|
-
- rails/.vim/plugin
|
41
40
|
- rails/.vim/filetype.vim
|
41
|
+
- rails/.vim/plugin
|
42
42
|
- rails/.vim/syntax/eruby.vim
|
43
43
|
- rails/.vim/plugin/taglist.vim
|
44
44
|
- rails/.vimrc
|