GithubHelp home page GithubHelp logo

craigemery / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 6.0 427 KB

The .rc files I use in my day-to-day shell work (mostly bash)

Shell 35.16% Python 0.93% Batchfile 0.02% Vim Script 63.90%

dotfiles's People

Contributors

grota avatar kizzx2 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

Watchers

 avatar  avatar

dotfiles's Issues

How to use pc-lint.vim?

Hi,
I'd like to integrate PC-Lint with VIM to be able to navigate to the warnings locations in the code easily.
Could someone please explain how to use the "pc-lint.vim" file found in vim/compiler?
Thanks

autotag collapses in hell when editing a remote file

on save of editing a scp:// file i'm getting

Error detected while processing function AutoTag:
line 9:
WARNING:root:Traceback (most recent call last):
File "", line 5, in
File "", line 209, in rebuildTagFiles
File "", line 205, in updateTagsFile
File "", line 45, in do_cmd
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: ''

great!

Hide "Warning: ignoring null tag in..."

When I save JS files, I often get ctags: Warning: ignoring null tag in ... warnings on the bottom.

This sometimes breaks the VIM window to the point where I have to restart VIM.

It would be nice to at least have an option that silences ctags warnings.

Plugin doesn't index tags upon save

I have installed the latest version of the autotag-vim plugin. The tags compiled statically works in my project. When ever I make changes to a file and save the tags file is not updated.

I have file called home_controller.rb as shown below

class HomeController < ApplicationController
  def index
    foo  # CTRL+] jumps to implementation
  end

private

  def foo
  end
end

If I modify the file to add new function and save the tag navigation doesn't work for the new function.

class HomeController < ApplicationController

  def index
    foo
    bar  # CTRL+] does not jump to implementation after save
  end

private

  def foo
  end

  def bar
  end

end

I enabled the debug buffer by calling :call AutoTagDebug() and I noticed that tagging was happening as expected. But the tags file is not getting updated.

source = "C:\Users\user1\My Projects\test1\app\controllers\home_controller.rb"
drive = "C:", file = "\Users\user1\My Projects\test1\app\controllers"
tagsFile "C:\Users\user1\My Projects\test1\app\controllers\tags"
drive = "C:", file = "\Users\user1\My Projects\test1\app"
tagsFile "C:\Users\user1\My Projects\test1\app\tags"
drive = "C:", file = "\Users\user1\My Projects\test1"
tagsFile "C:\Users\user1\My Projects\test1\tags"
Stripping tags for test1/app/controllers/home_controller.rb from tags file C:\Users\user1\My Projects\test1\tags

Error loading (SyntaxError line 181 relativeSource path)

In git-version from June 09, 2012 (commit 3acb012) there is a bug with relativeSource path on line 181. Error on loading script.

line  229:
  File "<string>", line 162
    relativeSource = os.path.splitdrive(source)[1]source[len(tagsDir):]
                                                       ^
SyntaxError: invalid syntax
Press ENTER or type command to continue

Here is fix:

181c181,182
<          relativeSource = os.path.splitdrive(source)[1]source[len(tagsDir):]

---
>          source = os.path.splitdrive(source)[1]
>          relativeSource = source[len(tagsDir):]

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.