Commit Graph

303 Commits

Author SHA1 Message Date
John Tyree
7460001ace Add spf13_no_conceal 2013-11-30 19:48:02 -06:00
John Tyree
2be2d0129a Merge pull request #493 from willdietrich/disable-auto-colors
Need to disable indent guides auto colors.
2013-11-30 17:42:23 -08:00
John Tyree
0d0e6dd6a9 Avoid duplication between neocomplete and neocomplcache 2013-11-29 19:45:24 -06:00
John Tyree
0a1437a64f FIXME for haskell linting 2013-11-29 19:32:49 -06:00
John Tyree
ce9bff6614 Add spf13_no_conceal 2013-11-29 19:31:35 -06:00
John Tyree
ad9739ffbd Add less invasive completion mappings (neocomplcache) 2013-11-29 19:30:59 -06:00
John Tyree
666797b327 FIXME for haskell linting 2013-11-29 19:30:20 -06:00
John Tyree
0b0cb193cc Add less invasive completion mappings 2013-11-29 19:22:23 -06:00
John Tyree
7cfb123d2c Removed redundant chunk of code that wrongly implements SuperTabbing 2013-11-29 14:35:35 -06:00
John Tyree
2f3df05d62 Wrap neocompl supertab emulation in conditionals. Add to vimrc.before 2013-11-29 14:08:12 -06:00
John Tyree
3e793d38ef Add note to fixup FullScreen map 2013-11-29 13:52:56 -06:00
John Tyree
c7a2bd929a Add note about has('x') testing 2013-11-28 06:59:42 -06:00
John Tyree
41ede1b430 Move UnBundle to .vimrc.bundles with a note 2013-11-26 22:32:18 -06:00
John Tyree
3f2a3c3eac Source before config after environment and essentials are set up 2013-11-26 22:22:14 -06:00
Steve Francia
a799a4edc8 Merge pull request #489 from mhinz/add-signify
Add vim-signify; remove vim-gitgutter
2013-11-25 08:13:08 -08:00
Jove Yu
7207214852 change airline theme, match with solarized theme 2013-11-22 17:00:23 +08:00
Jove Yu
f70be548eb add fullscreen mode for GVIM and Terminal 2013-11-22 16:56:31 +08:00
Will Dietrich
b18f99e0ac Need to disable indent guides auto colors. If not explicitly disabled the defined colors are always overridden. 2013-11-10 21:16:21 -07:00
Marco Hinz
4b254f823d Add vim-signify; remove vim-gitgutter
References #488.
2013-11-05 12:54:10 +01:00
Swapnil Joshi
b76c81aeec Updated description of nowrap command
Synced the description comment with the command.
Assumed comment was wrong instead of the command.
No offense, but isn't `set wrap` more comfortable? :)
2013-10-18 08:35:18 +05:30
Isaac Freeman
bdf475e3d1 Add other g* commands to go with gj, gk, etc.
Added maps in .vimrc for:
g$, g^, g0, g<Home>, g<End>
2013-10-13 18:03:11 -04:00
Steve Francia
a11c81901b Merge pull request #451 from sbennett18/3.0
Change config file `source`ing
2013-10-12 13:33:39 -07:00
John Tyree
f7453a0991 Move test for whitespace stripping out of function.
Rather than have the function call be a noop, which is misleading and a waste of
resources, this commit simply moves the conditional test up to the call site. If
g:spf13_keep_trailing_whitespace exists then we simply don't call the Strip()
function. This way Strip() can just do its job when called. I, for example, have
<leader>ws bound to this function and call it manually when needed. Hiding the
conditional inside the function broke that.
2013-10-12 16:18:26 -04:00
Benjamin Bergman
5af90958f8 Add map for Tabularizing on left aligned commas 2013-10-12 16:18:26 -04:00
Jacob Walker
2fa6d2bd7a Update airline documentation
+ Update README and linked image
2013-10-12 16:18:26 -04:00
Stephen Bennett
6c379d3a72 Update some formatting 2013-10-12 16:18:26 -04:00
Stephen Bennett
c6014b98c4 Fix solarized if statement
endif came before setting all options
2013-10-12 16:18:26 -04:00
Stephen Bennett
476e2758e1 Option to clear instead of toggle search highlighting 2013-10-12 16:15:35 -04:00
Stephen Bennett
a8c04ef701 Populate .vimrc.before with all spf13 options
* .vimrc.before should not be modified (just like any other non-local
  or non-fork config file)
* .vimrc.before contains a list of all options that can be set
* .vimrc.before.local is where these options would actually be set
* support .vimrc.before and .vimrc.before.fork in install scripts
2013-10-12 16:15:35 -04:00
perfectworks
85909e3f0c auto restore cursor to last edit position when open file 2013-10-12 16:15:35 -04:00
Saswat Padhi
0e5414e90f Conditionally override airline separators only if powerline fonts are not used.
The Airline separators were unconditionally overridden. I have conditionally overridden the separators only if the user doesn't use Powerline fonts.

User is expected to specify `g:airline_powerline_fonts=1` in `~/.vimrc.before.local` instead of `~/.vimrc.local`.
2013-10-12 16:15:35 -04:00
Troy Patrick
97906e8b24 Changed solarized options from high to normal. These are the tested defaults. 2013-09-07 16:14:43 +12:00
Stephen Bennett
bf66c5dd58 Move before config source
Place the source commands for .vimrc.before.local & .vimrc.before.fork
in .vimrc.before to reduce clutter in .vimrc
2013-09-06 16:31:53 -06:00
Stephen Bennett
bf4d8380c7 Remove redundant sourcing
.vimrc.bundles.local & .vimrc.bundles.fork are both sourced in
.vimrc.bundles, so remove the redundant sourcing from .vimrc
2013-09-06 16:31:39 -06:00
Steve Francia
3ed660a27d Merge pull request #449 from sbennett18/3.0
New spf13-vim option, formatting, solarized if statement fix
2013-09-05 10:22:03 -07:00
Stephen Bennett
36936db3ec Update some formatting 2013-09-05 01:41:15 -06:00
Stephen Bennett
c662fc527a Fix solarized if statement
endif came before setting all options
2013-09-05 01:41:15 -06:00
Stephen Bennett
db3e8cad22 Option to clear instead of toggle search highlighting 2013-09-05 01:41:13 -06:00
Stephen Bennett
b2389817c3 Populate .vimrc.before with all spf13 options
* .vimrc.before should not be modified (just like any other non-local
  or non-fork config file)
* .vimrc.before contains a list of all options that can be set
* .vimrc.before.local is where these options would actually be set
* support .vimrc.before and .vimrc.before.fork in install scripts
2013-09-05 01:34:43 -06:00
Saswat Padhi
ab6e2d4e6e Conditionally override airline separators only if powerline fonts are not used.
The Airline separators were unconditionally overridden. I have conditionally overridden the separators only if the user doesn't use Powerline fonts.

User is expected to specify `g:airline_powerline_fonts=1` in `~/.vimrc.before.local` instead of `~/.vimrc.local`.
2013-09-03 01:18:33 +05:30
Steve Francia
0240f11bfb before -> before.local & adding before.fork 2013-08-31 09:27:10 -04:00
Mike Funk
2783fb3f11 updated documentation and comments for .vimrc.before 2013-08-28 10:19:03 -04:00
Steve Francia
98f0ee3e73 Merge pull request #434 from mikedfunk/patch-1
Source optional .vimrc.before
2013-08-27 19:21:31 -07:00
Steve Francia
1ed271ddfd Merge pull request #432 from jcromero/3.0
Add mappings for some more fugitive commands: Gread and Gedit
2013-08-27 19:20:37 -07:00
Mike Funk
45b1054e8c Source optional .vimrc.before
Adding an optional .vimrc.before as suggested by @spf13 in Issue #428
2013-08-27 18:01:56 -04:00
beepscore
2ec0e17618 Workaround fix for vim-gitgutter issue #106
Reference
https://github.com/airblade/vim-gitgutter/issues/106
2013-08-27 01:12:00 -07:00
Juan Carlos Romero
a0fe2fb304 Add mappings for some more fugitive commands: Gread and Gedit 2013-08-26 20:26:42 +02:00
Stephen Bennett
6a7c01d40b Add various useful commands
* Shell command opens split with results from running command
* * Similar to !<command>
* Find merge conflict search
* Tag files can be placed in .git/tags and will be found at all levels
  of a git repository
* New airline separators
* Allow repeating visual mode commands
* Minor formatting
2013-08-24 09:33:49 -06:00
Jacob Walker
b4f2be715a Airline: Disabling Powerline Fonts and Updating README 2013-08-24 00:28:18 -05:00
pk-nb
84ce87a965 Aesthetic fix for current-line gutter highlight 2013-08-11 10:56:59 -04:00
Jacob Walker
0e4a4ab22d Airline: Configure to Look More Like Powerline
+ Moving variables to .vimrc
2013-07-31 16:11:12 -05:00
ljani
2051b16d25 Fixed neocomplete configuration according to the migration guide: https://github.com/Shougo/neocomplete.vim/wiki/neocomplete-migration-guide 2013-07-30 23:23:20 +03:00
Anthony Carathimas
0a14e18d10 added support for neocomplete 2013-07-29 11:02:39 -04:00
ljani
bd6fe2503f Expect j and k to behave consistently in normal, visual, operator and select mode and thus use noremap instead of nnoremap for j and k.
Signed-off-by: ljani <ljani@fake.server>
2013-07-16 22:32:54 +03:00
spf13
cdf22abd2e Merge branch '3.0' of https://github.com/victoredwardocallaghan/spf13-vim into victoredwardocallaghan-3.0
Conflicts:
	.vimrc
2013-07-08 22:49:10 -04:00
ljani
47380d8d57 Don't set shell to /bin/sh on Windows. Setting the shell to sh on Windows breaks eg. Vundle.
Signed-off-by: ljani <ljani@server.fake>
2013-06-30 13:20:25 +03:00
Edward O'Callaghan
3cae524232 Revert setting PATH in .vimrc, in reality the user should be setting this up in there shell properly any way. 2013-06-28 06:42:45 +10:00
Steve Francia
40a65a0729 Add support for detecting .coffee files. 2013-06-27 15:09:50 -04:00
GaelanS
eeb2a0ef3c Remove quotes around /bin/sh. 2013-06-25 20:44:56 -06:00
GaelanS
efcae84315 Set sh as the default shell.
Some people use non-POSIX shells. Vim has trouble with non-POSIX login shells.
2013-06-25 00:26:38 -06:00
Edward O'Callaghan
00a06cf40a Haskell: Improve indent and comment support, fix spelling highlighting issue and provide source sanity check on save with ghcmod. 2013-06-24 22:27:13 +10:00
Steve Francia
f1aae50333 Merge pull request #377 from victoredwardocallaghan/3.0
initial Haskell support.
2013-06-23 19:21:16 -07:00
Matthew M. Keeler
1eb005b541 Issue #341 Cursor on first line for git commit msg 2013-06-21 22:59:20 -05:00
Edward O'Callaghan
86c946c084 autocmd lines should be moved to the .vimrc file as per advice from spf13-vim upstream. 2013-06-21 21:21:43 +10:00
dani
43bfb4ffc5 On Windows, the fallback command (g:ctrlp_user_command) should be "dir" instead of "find" (#381). 2013-06-19 19:01:46 +02:00
perfectworks
5ffcbcff1c skip neocomplcache configure if use snipmate 2013-06-06 16:20:19 +08:00
Jove Yu
b981b50fdc fix ctrlp working_path_mode 2013-05-04 17:25:12 +08:00
John Tyree
7a0a829309 Add GitGutter toggle similar to other git shortcuts.
All of the other shortcuts are related to fugitive, but I feel that it's best to
just put the "git-related" shortcuts together. <leader>gg shouldn't conflict
with any git commands other than grep, which probably much less frequently used.
2013-04-26 01:03:47 +02:00
John Tyree
a47413c9a9 Update GitGutter after writing to the index. 2013-04-26 01:03:13 +02:00
John Tyree
e8effca302 Add <leader>gw for :Gwrite in fugitive 2013-04-24 23:48:47 +02:00
Ben van de Sande
6556d669a5 Use vim-snippets instead of snipmate-snippets 2013-04-06 13:55:51 +02:00
spf13
a8c9260a84 Adding golang support for tagbar
Requires gotags to be installed
2013-04-05 05:32:52 +01:00
mmikitka
2cfccdd84c Disable the neosnippet preview candidate window. When enabled, there can be too much visual noise especially when splits are used. 2013-03-21 12:29:09 -04:00
spf13
987f6dfbb0 Better highlighting of tabs and trailing spaces
Now using unobtrusive characters and ones you are not likely to type.
2013-03-19 17:47:27 -04:00
spf13
f282a6c2cf GoLang support 2013-03-19 16:49:56 -04:00
Steve Francia
129b4c909d Merge pull request #313 from jacobwalker0814/vim-gitgutter
vim-gitgutter highlighting
2013-03-05 21:12:31 -08:00
Jacob L. Walker
5c9b68e0d6 vim-gitgutter highlighting
Background color of sign column in gitgutter is distracting. Per
airblade's docs adding this command cleans it up
2013-03-05 22:16:59 -06:00
Jacob L. Walker
cc57be9887 Pretty font support for Windows
+ Syntax error in elseif
2013-03-05 22:01:02 -06:00
Steve Francia
dda3fe463a Adding pretty font support for windows 2013-03-05 21:30:01 -05:00
Steve Francia
ea2ed47db9 Remove Buffer explorer mapping 2013-03-03 21:19:05 -05:00
Steve Francia
1146227388 Merge pull request #300 from jamestomasino/neosnippet
add option to disable neosnippet mapping blocking digraphs
2013-02-19 08:29:53 -08:00
James Tomasino
7ab4566347 add option to disable neosnippet mapping blocking digraphs 2013-02-19 10:59:49 -05:00
Steve Francia
fc79e6e795 Merge pull request #299 from jamestomasino/easyWindows
Add option to skip window navigation mappings and keep digraph key
2013-02-19 07:37:14 -08:00
James Tomasino
182afa38dd adding fix to override easy-window bindings 2013-02-19 10:31:51 -05:00
Steve Francia
3b3bdab87c Merge pull request #294 from lucisferre/patch-1
Fixes ctrlp_user_command for git repositories
2013-02-19 07:10:52 -08:00
Steve Francia
bb12d21262 Merge pull request #278 from MrDomopanda/3.0
Remove unnecessary/extra ts, sw, et directives
2013-02-19 07:09:41 -08:00
Steve Francia
a598d43df1 Merge pull request #292 from rguillebert/3.0
Remove pymode's "set number"
2013-02-19 06:33:10 -08:00
Chris Nicola
aaee9e2188 Set snipmate compatibility mode for neosnippet
Prevents a number of snipmate snippets from throwing errors.

See: https://github.com/Shougo/neosnippet/issues/86
2013-02-09 12:38:17 -08:00
Romain Guillebert
b7f891cb8a Remove pymode's "set number"
If pymode_options is set to 1 and "number" is unset, pymode enables number for python files.
2013-02-09 17:24:36 +01:00
Stephen Bennett
bf836fd494 Remove unnecessary/extra ts, sw, et directives
Changing the shiftwidth, tabstop, or expandtab settings in the Vim UI
section did not affect where the indent guides were placed.
Removing this line fixes this issue.
2013-01-26 10:53:46 -07:00
Stephen Bennett
2e10470cce Normalize formatting and fix comments
Updated the modeline to make sure the file always has the proper
formatting no matter what local settings people may use.
2013-01-05 01:33:14 -07:00
Stephen Bennett
7e37213cfc Customizable backup/swap/undo/views location
This was done in an effort to clean up the home directory and to
maintain a more centralized location for all vim related files that are
not touched often.
2013-01-05 01:31:20 -07:00
Steve Francia
04e314845f Merge pull request #256 from johntyree/invhlsearch
Use invhlsearch instead of nohlsearch
2013-01-01 14:20:08 -08:00
John Tyree
f4b7f579ea Add Tabularize shortcut for & 2012-12-22 20:27:09 +01:00
John Tyree
a8d74e97b1 Use invhlsearch instead of nohlsearch
This command toggles the highlight state, allowing the user to turn it off and
on as desired without it automatically turning back on.

I found it very annoying that some random command would set the search pattern
to something common like `\s\+` and suddenly my entire Vim session would be
highlighted. `<leader>/` turned if off but any kind of search related motion (or
running the command again, for example) would turn it back on again.

If the user turns off search highlighting, they probably don't want it to
immediately turn back on. If they do, it's as easy as `<leader>/` again.
2012-12-22 18:18:41 +01:00
Chris Nicola
dd6bec887b Fixes ctrlp_user_command for git repositories
The patch I submitted in #245 was incorrect it was missing the changes 
from https://github.com/kien/ctrlp.vim/issues/174 which ensure that 
untracked files will also be included in the search. This fixes that.
2012-12-19 07:59:56 -08:00
Yunchi Luo
b3c41f5bdb Fix restore_view configuration 2012-12-15 00:53:38 -05:00
Chris Nicola
3f977d6e6e CtrlP file search command for Git and Hg repositories
Uses the suggested ctrlp_user_command from the [CtrlP website][1] for
searching files in git and Hg repositories that belong to the git or
mercurial repository and ignore files that are ignored by your SCM tool.

Also applies the suggestion from [here][2] to ensure that we include new
untracked files in the search results.

[1]: http://kien.github.com/ctrlp.vim/
[2]: https://github.com/kien/ctrlp.vim/issues/174
2012-12-05 14:48:29 -08:00
John Tyree
625a07a38a Disable Pymode's whitespace trimmer.
The pymode whitespace trimmer is both slower and sloppier than the one we
already have and it clobbers the search history. Additionally, if someone has
disabled ours, this one still runs, which is probably not what anyone wants.
2012-12-01 14:55:59 +01:00
spf13
fe6ea839a3 Fixing issue #201.. using clipboard as register 2012-11-28 18:11:14 -05:00