twim 0.0.1 → 0.0.2

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/README.markdown CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  `twim` lets you post status updates to your Twitter from Vim.
4
4
 
5
+ ![screenshot](https://github.com/danchoi/twim/raw/master/screenshot.png)
6
+
7
+
5
8
  # Installation
6
9
 
7
10
  gem install twim
@@ -21,17 +24,29 @@ for instructions.
21
24
 
22
25
  twim
23
26
 
24
- This will invoke vim, where you can compose your tweet. Look at the Vim status
25
- line to see how many characters you have left before reaching the character
26
- limit.
27
+ This will invoke vim, where you can compose your tweet. Look at the Vim
28
+ status line to see how many characters you have left before reaching the
29
+ character limit.
30
+
31
+ To post the tweet, exit vim with `:wq`. To abort, exit with `:q!`.
32
+
33
+ # Turning URLs into TinyURLs
34
+
35
+ If you paste or type in a long URL, `twim` can condense it into a
36
+ TinyURL. Just put the cursor somewhere on the URL and type
37
+
38
+ <Leader>,
39
+
40
+ (That's the leader key followed by a comma). Note that this feature
41
+ assumes you have `curl` installed on your system.
27
42
 
28
- If you paste or type in a long URL, `twim` can convert it into a TinyURL. Just
29
- put the cursor somewhere on the URL and type `<Leader>,` (the leader key
30
- followed by a comma). Note that this feature assumes you have `curl` install on
31
- your system.
32
43
 
33
44
  # About
34
45
 
46
+ If you like `twim`, try [twail][twail].
47
+
48
+ [twail]:https://github.com/danchoi/twail
49
+
35
50
  Twim is really just a convenience wrapper around the awesome [twurl][twurl]
36
51
  program.
37
52
 
data/lib/twim.vim CHANGED
@@ -13,7 +13,7 @@ endfunction
13
13
 
14
14
  function! TwimStatusLine()
15
15
  let filled = CountChars()
16
- let remaining = 130 - filled
16
+ let remaining = 140 - filled
17
17
  let line = "%<Number of characters: " . filled . " Remaining: " . remaining . " %r%=%-14.(%l,%c%V%)\ %P"
18
18
  return line
19
19
  endfunc
data/screenshot.png ADDED
Binary file
data/twim.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "twim"
5
- s.version = '0.0.1'
5
+ s.version = '0.0.2'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twim
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi
@@ -40,6 +40,7 @@ files:
40
40
  - bin/twim
41
41
  - lib/twim.rb
42
42
  - lib/twim.vim
43
+ - screenshot.png
43
44
  - twim.gemspec
44
45
  has_rdoc: true
45
46
  homepage: https://github.com/danchoi/twim